1. 使用反斜杠(\):
```python
print("Hello \n world!")
2. 使用圆括号(()):
```python
print("Hello ", "world!")
3. 使用三引号("""或'''):
```python
print("""Hello world!""")
4. 使用`end`参数:
```python
print("Hello World", end="\n")
5. 使用`lines`参数:
```python
print("Hello World", lines=2, end="\n")
6. 在括号、方括号或大括号内的表达式中,可以直接换行,无需使用反斜杠:
```python
test = ('item_one'
'item_two'
'item_three')
以上方法都可以在Python中实现换行。请选择适合您需求的方法进行操作