python for each in code example
Example 1: for loops
MyString = ""
for i in range(5):
MyString += "hi"
print(MyString)
Example 2: pyton for
for x in range(6):
print(x)
MyString = ""
for i in range(5):
MyString += "hi"
print(MyString)
for x in range(6):
print(x)