Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = input()
- command = input().split()
- while command != "Sign up":
- if command[0] == 'Case':
- if command[1] == 'lower':
- print(username.lower())
- elif command[1] == 'upper':
- print(username.upper())
- elif command[0] == 'Reverse':
- start_index = command[1]
- end_index = command[2]
- command = input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement