Advertisement
Guest User

Untitled

a guest
Nov 26th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. actorsWhoPlayedBatman = ["Adam","Michael","Val","Christian"]
  2. order = input("What order is desired. ")
  3. if order == "A-Z" :
  4.     print (sorted(actorsWhoPlayedBatman))
  5. else:
  6.     print (sorted(actorsWhoPlayedBatman,reverse = True))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement