Problem: You have a Python program that reads in a file named coolFile (in /tmp), and outputs the content to the screen. The program prints an extra blank line after each line of content of the file named coolFile. You want the output to not have an extra blank line. Here is the code:
#/usr/bin/python
x = open(“/tmp/coolFile”, “r”)
for line in x:
print (line)
How do you have the output now print an extra blank line after each line?