在Python中,可以使用逗號來分隔多個對象,然后將它們作為參數傳遞給print函數。例如:
```python
a = 10
b = "Hello"
c = [1, 2, 3]
print(a, b, c)
```
這將會輸出:
```
10 Hello [1, 2, 3]
```
另外,你也可以使用字符串拼接的方式將多個對象合并成一個字符串,然后再傳遞給print函數,例如:
```python
a = 10
b = "Hello"
c = [1, 2, 3]
print(str(a) + " " + b + " " + str(c))
```
這樣也會輸出:
```
10 Hello [1, 2, 3]
```