Commit ff4efd1a by BellCodeEditor

auto save

parent 82467880
Showing with 33 additions and 3 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 studntid=[]
print("玩家出拳:"+player) student=[]
\ No newline at end of file result=[]
print("*"*30)
print("学生管理系统")
print("1,增加学生")
print("2,修改信息")
print("3,删除学生")
print("4,查看信息")
print("*"*39)
a=1
while True:
i=input("你欲做甚:")
if i=="1":
xm=input("What is your name:")
jn=input("月考几分")
studntid.append(a)
student.append(xm)
result.append(jn)
a=a+1
if i=="2":
s=int(input("学号:"))
q=input("成绩:")
result[s-1]=q
if i=="3":
p=int(input("学号:"))
result[p-1]=" "
student[p-1]=" "
if i=="4":
print("学号",studntid)
print("姓名",student)
print("成绩",result)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment