小编Sul*_*ina的帖子

python中\n的替代是什么?

我想在python中打印以下输出:

 99 buckets of bits on the bus.
 99 buckets of bits.
 Take one down, short it to ground.
 98 buckets of bits on the bus.
Run Code Online (Sandbox Code Playgroud)

使用单个打印命令,中间没有"\n"字符.如何才能做到这一点?

python newline end-of-line

-4
推荐指数
1
解决办法
1434
查看次数

标签 统计

end-of-line ×1

newline ×1

python ×1