# name='egon'
# age=18

# %s其实可以接收任意类型的值
# print('my name is %s my age is %s' %(name,age))
# print('my name is %s my age is %s' %(name,[1,2]))

#%d只能接收int类型的值
# print('my age is %d' %age)

# name=input('username>>: ')
# age=input('age>>: ')
# sex=input('sex>>: ')
# job=input('job>>: ')
#
# print("""
# ------------ info of %s -----------
# Name  : %s
# Age   : %s
# Sex   : %s
# Job   : %s
# ------------- end -----------------
# """ %(name,name,age,sex,job))

#练习

# '''
# 练习：用户输入姓名、年龄、工作、爱好 ，然后打印成以下格式
# ------------ info of Egon -----------
# Name  : Egon
# Age   : 22
# Sex   : male
# Job   : Teacher
# ------------- end -----------------
# '''

