python print 连续输出变量加字符串

a=1

b=2

print(a,'+',b,'=',a+b)

输出:1+2=3

 

posted @ 2018-07-17 16:08  金一九  阅读(14681)  评论(0)    收藏  举报