info = 'kk'
print('my name:{}'.format(info))
print('my name:{n}'.format(n=info))
print('my name:%s'%(a))
#常用 Python 3.6版本以后支持
print(f'my name:'{info})
print(f'my name:{info}')
05-01
1135
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-15
314
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-14
112
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)