mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 09:24:58 +00:00
16 lines
308 B
Python
16 lines
308 B
Python
|
import sys
|
||
|
|
||
|
fuzz = sys.argv[1]
|
||
|
|
||
|
input = open(fuzz + "_input.txt", "r")
|
||
|
output = open(fuzz + "_output.txt", "r")
|
||
|
|
||
|
for line in input.readlines():
|
||
|
if not line.startswith("#"):
|
||
|
print(">", line, end="")
|
||
|
|
||
|
for line in output.readlines():
|
||
|
if line.startswith("Error, "):
|
||
|
print("<e")
|
||
|
else:
|
||
|
print(line, end="")
|