📜  python 多行语句 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:10.537000             🧑  作者: Mango

代码示例1
message = "Hello There.\nYou have come to the right place to learn Python Programming.\n" \
          "Follow the tutorials to become expert in Python. " \
          "Don't forget to share it with your friends too."
 
math_result = 1 + 2 + 3 + 4 + \
              5 + 6 + 7 + 8 + \
              9 + 10
 
print(message)
print(math_result)