SyntaxFix
Write A Post
Hire A Developer
Questions
count=0 with open ('filename.txt','rb') as f: for line in f: count+=1 print count