如何删除python3中的blank

2024-06-16 15:43:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我有以下代码

nsum = 1+3+4

print("your total Calorie count is",nsum,".")

当我使用python3.6运行scrip时

它打印出your total Calorie count is 8 .

<>但是我想在^ {CD2>}之后没有空格打印这个句子。 像这样:

your total Calorie count is 8.

我该怎么办


Tags: 代码youriscount句子total空格print