I am trying to make a simple application that will print a word a specific number of times. I have this code:
# Double Words
times = input('How many times would you like to repeat your word?')
word = input('Enter your word:')
for times in times:print(word)
When I run the code, word
is only printed once, despite the loop. What is wrong, and how can I fix it?