1、用户输入姓名、年龄、工作、爱好 ,然后打印成以下格式
------------ info of Egon -----------
Name : Egon
Age : 22
Sex : male
Job : Teacher
------------- end -----------------
print('{x:-^38}'.format(x=' info of Egon '))
res= 'Name:{}\nAge:{}\nSex:{}\nJob:{}'.format('Egon',22,'male','teacher')
print(res)
print('{y:-^38}'.format(y='end')