crsandu icon

Untitled

crsandu | PRO | 11/16/18 09:44:26 PM UTC | 0 ⭐ | 396 👁️ | Never ⏰ | []
Python |

190 B

|

None

|

0 👍

/

0 👎

def search():
    fin = open("data", "rb") #open in read mode
    for I in fin:
        for K in range(0, len(I)-1):
            if(I[K] == "S" and I[K+1] == "n" and I[K+2] == 'e'):
                print I
        
 
search()

Comments