#常用方法:print('{0},{1}'.format('zhangk', 32)) print('{},{},{}'.format('zhangk','boy',32)) print('{name},{sex},{age}'.format(age=32,sex='male',name='zhangk')) print('{name},{gender},{age}'.format(age=3,gender='female',name='Alex')) # 填充与对齐# 填充常跟对齐一起使用#…