在Python中,可以使用print函數來輸出一行內容。例如,要輸出"Hello, world!",可以使用以下代碼:```pythonprint("Hello, world!")```這將在控制臺上輸出一行內容:"Hello, world!"