Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 12 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!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!