fname = input(\'Enter the file name:\') Enter the file name:mbox-short.txt >>> fhand = open(fname) >>> count = 0 >>> for line in fhand: ..