Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- needed_letters = []
- command = input()
- word = ""
- while command != "end":
- needed_letters.append(command)
- command = input()
- for x in needed_letters:
- word = word + x
- print(word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement