6 lines
195 B
Python
6 lines
195 B
Python
with open ('values.txt', 'r') as file:
|
|
with open ('WER_values.txt', 'w') as file_o:
|
|
for i in file:
|
|
C, S, D, I = i.strip()
|
|
file_o.write((S+D+I)/(S+D+C) + '\n')
|