Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = 5
- while n > 0:
- print "tell me word", n
- word(n) = raw_input()
- n = n - 1
- print
- r = 1
- while r < 6:
- print word(r)
- r = r + 1
- words = []
- n = 5
- words = []
- while n > 0:
- words.append(raw_input('Tell me a word: '))
- n -= 1
- for n in range(5):
- words.append(raw_input('Tell me a word: '))
- words = [raw_input('Tell me a word: ') for n in range(5)]
- print list(reversed(words))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement