Learn Python in 7 Days
上QQ阅读APP看书,第一时间看更新

Python back slash

The Python back slash is used for continuation of the print statement. You can stretch a single statement across multiple lines:

print "Hello
world "

This gives the following output:

C:pydev>python hello.py
Hello world