1. 双引号 ("):
```python
text = "Hello, World!"
2. 单引号 ('):
```python
text = 'Hello, World!'
3. 三引号 (""" 或 '''):
```python
text = """Hello,
World!"""
Python 3中,字符串默认是Unicode类型,这意味着你可以直接使用引号包裹汉字文本,例如:
```python
text = "你好,世界!"
此外,Python还支持转义字符,例如:
`\n` 表示换行
`\t` 表示制表符
`\\` 表示反斜杠本身
希望这些信息对你有帮助,