for i in range(5):, repeat 5 times, score = int(input("Enter score: ")), ask for a score and store it as a number, if score >= 40:, check if the score is a pass, pass_count = pass_count + 1, add 1 to the pass counter, if score >= 80:, check if the score wins a prize, prize_count = prize_count + 1, add 1 to the prize counter, print("Pass"), show the word Pass on the screen, print("Try again"), show the words Try again on the screen, print("Prize"), show the word Prize on the screen, indentation, shows which lines belong inside the loop or if statement, range(5), creates 5 loop turns: 0, 1, 2, 3 and 4, counter, a variable that keeps score
0%
Python Match Up
共享
共享
由
Paullivesey
编辑内容
保存
喜欢
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
匹配游戏
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
更像是这样
Count 1 to 5
由
Daniela453
匹配游戏
51
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number.
由
Msstreetsschool
随堂测验
138
MEMORY GAME OF NUMBERS FROM 1 TO 5
由
Leticiafinatti
配对游戏
5
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number
由
Kerryjohnston
随堂测验
4
1-5 quiz Numbers
由
Sonyasamsonova
随堂测验
3
PRACTICE NUMBERS 1 TO 50
由
Florzar94
迷宫追逐
3
Jogo da memoria em inglês. Numbers 1 to 5
由
Marizeteromano
寻找匹配项
3
1-5 Numbers - Quiz
由
Siamkiddschool
随堂测验
2
AI增强版:本活动包含AI生成的内容。
了解更多信息。
切换模板
显示所有
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?