#参数传递方式
a=1
b=22
#第一种
print(f'{a}hello{b}')
#第二种
#整数:%d   小数:%f   字符串:%s
print('%dhello%d'%(a,b))
posted on 2020-01-09 19:22  badbadboy  阅读(170)  评论(0编辑  收藏  举报