You must be logged in to post. Please login or register an account.
You can use + or += to the string in the loop.
x = 'hey'
y = ' there'
print(x+y)
for i in range(10):
x += ' hi'
print(x)
-Harrison 9 years ago
Last edited 9 years ago
You must be logged in to post. Please login or register an account.