no message

This commit is contained in:
macbook
2024-01-01 21:01:42 +08:00
parent 71da20be9f
commit a647de21bc
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
scope=input("请输入成绩的等级")
match scope:
case 'A':
print("好")
case 'B':
print("HEHE")
+7
View File
@@ -0,0 +1,7 @@
s=0
i=1
while i<=100:
s+=i
i+=1
else:
print(s)