repl.it
Python

(╯°□°)╯︵ ┻━┻

fork
loading
Files
  • main.py
  • text.txt
main.py
1
2
3
4
5
6
7
out = ''
with open('text.txt') as text:
    t = text.read().split('\n')
    for n in range(len(t[0])):
        for line in t:
            out += line[n]
print(out)
?