Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- actorsWhoPlayedBatman = ["Adam","Michael","Val","Christian"]
- order = input("What order is desired. ")
- if order == "A-Z" :
- print (sorted(actorsWhoPlayedBatman))
- else:
- print (sorted(actorsWhoPlayedBatman,reverse = True))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement