challenging-america-word-ga.../program.py

10 lines
198 B
Python
Raw Permalink Normal View History

2023-03-29 11:49:18 +02:00
#!/usr/bin/python3
import sys
for line in sys.stdin:
ctx = line.split('\t')[6:]
if ctx[0].endswith('\n'):
print('The:0.7 A:0.2 :0.1')
else:
print('the:0.6 a:0.3 :0.1')