[英]python: How do you print to a new line
我正在嘗試在 python 中打印到一個新行。
我試過:
print text '\n', sentiment '\n', score
但它不起作用。
您必須將\\n
連接到文本:
print text + '\n', sentiment + '\n', score
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.