valos_halozat_hf/format_file.py
Torma Kristóf 81efd01ce5
Some checks failed
continuous-integration/drone/push Build is failing
add graph loading
2020-10-02 00:18:14 +02:00

9 lines
282 B
Python

#!/usr/bin/env python3
with open('valos_halozat.txt') as halozat:
halozat.readline()
sorok=int(halozat.readline())
for _ in range(sorok):
hal = halozat.readline()
print(f"{list(filter(None, hal.split(' ')))[0]} {list(filter(None, hal.split(' ')))[1]}")