Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 14 Online
OpenStudy (anonymous):

Anybody know how to print a empty line?

OpenStudy (anonymous):

print ''

OpenStudy (anonymous):

these are two single quotes

OpenStudy (anonymous):

you can scrap the double quotes entirely, typing print will give you a blank line also if you put \n in a string it then print it, it moves everything past the \n to a new line print "exam \n ple" exam ple notice the space is still preserved, you do not need spaces around the \n you can put as many \n in a row as you want hope that was clear

OpenStudy (anonymous):

thank you

OpenStudy (anonymous):

In Python 3 use print()

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!