Advertisement
minhkhoi1026

EntryTest4

Oct 13th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. my_list = []
  2. #read input
  3. my_input = input()
  4. while(len(my_input) > 0):
  5.     my_list.append(my_input)
  6.     my_input = input()
  7. #process the result
  8. def cmp(s):
  9.     return s
  10. my_list = sorted(my_list, reverse = True)
  11. #write the result
  12. print("".join(my_list))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement