- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 38字
- 2025-04-04 19:20:06
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