a guest Mar 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- mirror = [ input() for i in range(0,n) ]
- state = int(input())
- display = mirror[::-1] if state > 2 else mirror
- for line in display:
- print(line if state % 2 == 1 else line[::-1])
RAW Paste Data