Python basics: One "empty" line in Python (print ''). What does it do?

Posted by brilliant on Stack Overflow See other posts from Stack Overflow or by brilliant
Published on 2010-04-04T19:22:44Z Indexed on 2010/04/04 19:23 UTC
Read the original article Hit count: 154

Filed under:
|
|

I know this question may well be the silliest question you've herd today, but to me it is a big question at this stage of my programming learning.

Why is the second empty line needed in this Python code? What does that line do?

print 'Content-Type: text/plain'
print ''
print 'Hello, world!'

© Stack Overflow or respective owner

Related posts about python

Related posts about print