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
Kopīgot
Kopīgot
autors:
Paullivesey
Rediģēt saturu
Saglabāt
Patīk
Drukāt
Iegult
Vairāk
Uzdevumus
Līderu saraksts
Rādīt vairāk
Rādīt mazāk
Šī līderu grupa pašlaik ir privāta. Noklikšķiniet uz
Kopīgot
, lai to publiskotu.
Mācību līdzekļa īpašnieks ir atspējojis šo līderu grupu.
Šī līderu grupa ir atspējota, jo jūsu izmantotās iespējas atšķiras no mācību līdzekļa īpašnieka iespējām.
Atjaunot sākotnējās iespējas
Saderību meklēšana
ir atvērta veidne. Tā neģenerē rezultātus līderu grupai.
Nepieciešams pieteikties
Vizuālais stils
Fonts
Nepieciešams abonements
Iespējas
Drīzāk šādi
Count 1 to 5
autors:
Daniela453
Saderību meklēšana
51
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number.
autors:
Msstreetsschool
Viktorīna
138
MEMORY GAME OF NUMBERS FROM 1 TO 5
autors:
Leticiafinatti
Saderīgie pāri
5
Counting/subitising/number recognition to 5. What do you see? How many? Select the correct number
autors:
Kerryjohnston
Viktorīna
4
1-5 quiz Numbers
autors:
Sonyasamsonova
Viktorīna
3
PRACTICE NUMBERS 1 TO 50
autors:
Florzar94
Pakaļdzīšanās labirintā
3
Jogo da memoria em inglês. Numbers 1 to 5
autors:
Marizeteromano
Atrast saderības
3
1-5 Numbers - Quiz
autors:
Siamkiddschool
Viktorīna
2
Uzlabots mākslīgais intelekts: šī darbība satur mākslīgā intelekta ģenerētu saturu.
Apgūt vairāk.
Pārslēgt veidni
Rādīt visus
Atvērtie rezultāti
Kopēt saiti
QR kods
Dzēst
Atjaunot automātiski saglabāto:
?