Advertisement
pacho_the_python

Untitled

Oct 15th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. needed_letters = []
  2.  
  3. command = input()
  4. word = ""
  5. while command != "end":
  6.     needed_letters.append(command)
  7.     command = input()
  8.  
  9. for x in needed_letters:
  10.     word = word + x
  11.  
  12. print(word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement