Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- cmd = input()
- if cmd == 'end':
- break
- new_cmd = cmd[::-1]
- print(f'{cmd} = {new_cmd}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement