What i'm trying to do is writing Program that print the number of newlines,words and characters in counted file by python
I'm lost and i do not how should i do it?
that what i got so far
infilename = input("Enter the name of the file:")
infile = open ( infilename ,'r')
for line in infile:
line = line.split()
print (line)