As declaring a variable1 inside for loop I have assigned some string to it>>>whereas given another variable2 .....when provided with the output it shows variable1 len is 1 and variable2 has 8 how does that work???
for variable1 in "something is here please help":
print(variable1)
variable2 = "abcdefgh"
print(len(variable1))
print(len(variable2))