Commit 14b5b811 by BellCodeEditor

save project

parent 370cf254
Showing with 35 additions and 9 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) # N=int(input("输入一个正整数N:"))
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) # for i in range(1,N+1):
# if i%3==0 and i%7==0:
# 请用input()实现用户输入账号、密码的功能 # print(i)
# N=int(input("输入一个正整数N:"))
# for i in range(1,N+1):
# if i%21==0:
# 如果用户输入的账号、密码正确,提示登陆成功 # print(i)
\ No newline at end of file ch=int(input("输入语文成绩:"))
math=int(input("输入数学成绩"))
en=int(input("输入英语成绩"))
if ch+math+en>285:
print("去游乐园")
elif ch+math+en>241:
print("做一天作业")
else:
print("做两天作业")
# while True:
# a=int(input("输入第一个整数:"))
# b=int(input("输入第二个整数:"))
# if a%b==1:
# print("恭喜")
# elif a/b==3:
# ("发财")
# else:
# printa+b>c(a/b)
# while True:
# a=int(input("输入三角形的第一条边:"))
# b=int(input("输入三角形的第二条边:"))
# c=int(input("输入三角形的第三条边:"))
# if a+b>c and a+c>b and c+b>a:
# print("能")
# else:
# print("不能")
# print(" "*5,"*"*1)
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