1. 使用转义字符 `\n`:
```python
print("I'm Bob.\nWhat's your name?")
输出结果:```I'm Bob.
What's your name?
```python
hi = """hi there"""
print(hi)
输出结果:```hi there

3. 使用括号表达式:
```python
s = ('aaa' 'bbb')
print(s)
输出结果:```aaa bbb
4. 使用 `print` 函数直接打印多行字符串:
```python
print("I'm Bob.\nWhat's your name?")
输出结果与使用转义字符相同。以上方法都可以实现在Python中换行。选择哪一种方法取决于你的具体需求和个人编码风格
