Skip to content

Instantly share code, notes, and snippets.

@scwood
Created February 12, 2016 21:15
Show Gist options
  • Select an option

  • Save scwood/07dcbe85195c90b90538 to your computer and use it in GitHub Desktop.

Select an option

Save scwood/07dcbe85195c90b90538 to your computer and use it in GitHub Desktop.
num_pics = int(input())
for i in range(num_pics):
lines = []
for j in range(10):
line = input().rstrip()
lines.append(line)
for j in range(-1, -16, -1):
for l in lines:
print(l[j], end='')
print()
print()
if i != num_pics - 1: # prevent eof error
blank = input()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment