daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n=int(input())
  2. mirror = [ input() for i in range(0,n) ]
  3. state = int(input())
  4. display = mirror[::-1] if state > 2 else mirror
  5. for line in display:
  6.     print(line if state % 2 == 1 else line[::-1])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top