Chybí dvojtečka za range(5), Typ chyby: SYNTAKTICKÁ, , Index 5 neexistuje (seznam má jen indexy 0, 1, 2) Typ chyby: BĚHOVÁ (IndexError), , Chybí uzavírací závorka u print, Typ chyby: SYNTAKTICKÁ, , Dělení nulou, Správně: Před dělením zkontrolovat, že b != 0, Typ chyby: BĚHOVÁ (ZeroDivisionError), , Cyklus běží jen 3x místo 4x, Typ chyby: LOGICKÁ, , Použito přiřazení = místo porovnání == , Správně: if x == 5: Typ chyby: SYNTAKTICKÁ, , Sčítáme text s číslem (input vrací vždycky text) Správně: vek = int(input("Kolik ti je let? ")) Typ chyby: BĚHOVÁ (TypeError), , Vzorec pro obvod je 2×(a+b), ne jen a+b Správně: obvod = 2 * (delka + sirka) Typ chyby: LOGICKÁ, , Chybí čárka mezi "Anna" a "Pavel" Správně: seznam_jmen = ["Anna", "Pavel", "Marie"] Typ chyby: SYNTAKTICKÁ.
0%
CHYBY
Share
Share
Share
by
Anglickásekce
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Flash cards
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
)
Open results
Copy link
QR code
Delete
Continue editing:
?