How to skip the extra newline while printing lines read from a file?,print(line.rstrip('\n'))