blob: b00c862db79e687b57ce84825cc66b4d2a1459a8 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env python3
import sys
with open(sys.argv[1]) as ifile:
if ifile.readline().strip() != '42':
print('Incorrect input')
with open(sys.argv[2], 'w') as ofile:
ofile.write('Success\n')
|