print("欢迎使用学生信息管理系统!")
accounts={"zdl","tsl"} #用户
pwd={"zdl":"123","tsl":"321"}#各用户对应密码
students={}
ids=[]
while 1:
account=input("请输入你的账号:")
if account in accounts:
while 1:
password=input("请输入你的密码:").strip()
if account=="zdl" and password==pwd["zdl"]: #管理员登录
print("欢迎来到管理员管理界面:")
while 1:
print("可以进行的操作有:1.增加记录 2.删除记录 3,修改记录 4.查看记录 5.添加账号 6.退出")
option=input("请选择要进行的操作:")
if option=="1":
id=input("请输入要增加的学生信息的学号:")
name=input("请输入要增加的学生信息的学生姓名:&
学生系统管理(python)
最新推荐文章于 2022-12-10 17:45:03 发布