#格式化输出
age=10
print(“我今年%d岁”%age) #d代表要占位的是数字
age+=1
print(“我今年%岁”%age)
age=18
print(“我的名字是%s,我的国籍是%s”%(“小张”,“中国”))
import sys
sgs = sys.getsizeof
ll = ['short', 'int', 'long', 'long long']
for x in ll: print('The size of {} is {} bytes.')