如何在Python中让两个print函数的输出打印在一行内

2025-06-20 14:44:25
推荐回答(1个)
回答1:

在python3中,这样是不会换行的

print('不换行', end='')