1 name=input("name:")
 2 age=input("age:")
 3 sex=input("sex:")
 4 job=input("job:")
 5 salary=input("salary:")
 6 info=('''
 7 ------info of %s-----
 8 name:%s
 9 age:%s
10 sex:%s
11 job:%s
12 salary:%s
13 
14 '''%(name,name,age,sex,job,salary))
15 print(info)
16 
17 
18 print("*"*25)
19 
20 import getpass
21 #密文
22 username=input("username:")
23 # password=getpass.getpass("password:")
24 password=input("password:")
25 _username="梓墨"
26 _password="zimo1234"
27 if _username==username and password==_password:
28     print("密码输入正确")
29 else:
30     print("密码错误")
31 
32 
33 age_old_girl=22
34 girl_age=int(input("请输入你的年龄"))
35 if age_old_girl==girl_age:
36     print("年龄正确")
37 elif age_old_girl<girl_age:
38     print("年龄猜大了")
39 else:
40     print("年龄小了")