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
Del
Del
af
Paullivesey
Rediger indhold
Gem
Synes om
Trykke
Integrere
Mere
Tildelinger
Rangliste
Vis mere
Vis mindre
Denne rangliste er i øjeblikket privat. Klik på
Del
for at gøre det offentligt.
Denne rangliste er deaktiveret af ressourceejeren.
Denne rangliste er deaktiveret, da dine muligheder er forskellige fra ressourceejerens.
Indstillinger for gendannelse
Match op
er en åben skabelon. Det genererer ikke resultater for en rangliste.
Log ind påkrævet
Visuel stil
Skrifttyper
Kræver abonnement
Indstillinger
Mere sådan her
Count 1 to 5
af
Daniela453
Match op
51
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number.
af
Msstreetsschool
Quiz
138
MEMORY GAME OF NUMBERS FROM 1 TO 5
af
Leticiafinatti
Huskespil
5
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number
af
Kerryjohnston
Quiz
4
1-5 quiz Numbers
af
Sonyasamsonova
Quiz
3
PRACTICE NUMBERS 1 TO 50
af
Florzar94
Labyrint jagt
3
Jogo da memoria em inglês. Numbers 1 to 5
af
Marizeteromano
Find matchet
3
1-5 Numbers - Quiz
af
Siamkiddschool
Quiz
2
AI-forstærket: Denne aktivitet indeholder indhold genereret af AI.
Lær mere.
Skift skabelon
Vis alle
Åbne resultater
Kopiér link
QR-kode
Slette
Gendan automatisk gemt:
?