import io
import os
qbfile = open("list.txt", "r")
for aline in qbfile:
values = aline.split()
print( values[0] )
if values[0] =="3" :
print(" we found the value %s" % values[0])
qbfile.close()
RESULT
1
2
3
we found the value 3
4
5
6
No hay comentarios:
Publicar un comentario