Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. word = raw_input ("Give me any word: ")
  2. times = input ("Give me the amount of times you want this word printed: ")
  3.  
  4. def repeat_word(word, times):
  5. for loop in range (times):
  6. print word,
  7.  
  8. repeat_word (word, times)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement