如标题中所述,我如何让Python打印+1而不是1?
score = +1 print score >> 1
我知道-1打印为-1但是我如何获得正值以+符号打印而不用手动添加它.
谢谢.
python number-formatting
number-formatting ×1
python ×1