Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fin = open('a.txt','r')
- s = 0
- for line in fin:
- s +=1
- print(s)
- fin.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement