stu_id=1
stu_id2=1000
age=18
name='jyb'
weight=65.5
print('今年我的年龄是{} '.format(age))
print('我的名字是{}'.format(name))
print('我的体重是{}公斤'.format(weight))
print('我的学号是{}'.format(stu_id))
print('我的学号是{}'.format(stu_id2))
print('我的名字是{},今年{}岁了'.format(name,age))
print('我的名字是{},明年{}岁了'.format(name,age+1))
print('我的名字是{}, 今年{}岁了, 体重{}公斤,学号是{}'.format(name,age,weight,stu_id))
Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐