Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- word = raw_input ("Give me any word: ")
- times = input ("Give me the amount of times you want this word printed: ")
- def repeat_word(word, times):
- for loop in range (times):
- print word,
- repeat_word (word, times)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement