Which keyword starts a function in Python?, def, function, In this function header, what is answer? def check_answer(answer):, a loop, a parameter, Which line correctly calls this function? def show_message(message):, def show_message("Hello"), show_message("Hello"), What does a parameter do?, It lets a function receive a value, It always prints a list, Which function header is correct?, def check_answer(answer):, def check_answer answer:, Which line checks whether answer is equal to "B"?, if answer = "B":, if answer == "B":, What is wrong with this line? def check_answer(answer), It is missing a list, It is missing a colon, What will this function call print? check_answer("B") when "B" is the correct answer., Correct, Try again, Why is indentation important inside a function?, It shows which code belongs inside the function, It changes text into numbers, What is the main benefit of using a function?, You never need variables, You can reuse code
0%
Python Functions Quiz
Sdílet
Sdílet
podle
Paullivesey
Upravit obsah
Uložit
Jako
Tisk
Vložit
Více
Přiřazení
Výsledková tabule/Žebříček
Zobrazit více
Zobrazit méně
Tento žebříček je v současné době soukromý. Klikněte na
Share
chcete-li jej zveřejnit.
Tuto výsledkovou tabuli vypnul majitel zdroje.
Tento žebříček je zakázán, protože vaše možnosti jsou jiné než možnosti vlastníka zdroje.
Možnosti vrácení
Otevřít krabici
je otevřená šablona. Negeneruje skóre pro žebříček.
Vyžaduje se přihlášení.
Vizuální styl
Fonty
Je vyžadováno předplatné
Možnosti
Spíš takhle
Explanation Quiz
podle
Hkheirabi
Kvíz
9
python quiz
podle
Ronitranjan1301
Kvíz
4
1.1 Commands Quiz
podle
Jlohlaae
Kvíz
6
Quiz - Question words
podle
Pixiepickpocket
Kvíz
34
Python Quiz - Concepts revisited
podle
Shinuarora28
Kvíz
6
Basic Excel Quiz
podle
Gw19coetsersimo
Kvíz
5
Four Questions Quiz!
podle
Morahmarie
Kvíz
6
Functions Quiz
podle
Sofiadorantes
Kvíz
21
AI vylepšená: Tato aktivita obsahuje obsah generovaný AI.
Víc se uč.
Přepnout šablonu
Zobrazit vše
Otevřené výsledky
Kopírovat odkaz
QR kód
Odstranit
Obnovit automatické uložení:
?