This script typecasts user entry into a string, This script typecasts user entry to a whole number, This script typecasts user entry to a real number, This script involves no user entry., , If the user enters the values '27' and '26', the system will output: August of 2024 was hotter than August of 2023, If the user enters the values '25' and '26', the system will output: August of 2024 was hotter than August of 2023, If the user entry is invalid (e.g. 'hello') the system will ask the user to try again., None of the above are true., , This code shows 1 decision construct and 1 looping construct, This code shows 2 decision constructs and 1 looping construct, This code shows 1 decision construct and 2 looping constructs, This code shows 1 decision construct and 0 looping constructs, , This code has two functions and both return an integer to the line calling them, This code has one function and it is passed a boolean parameter, This code has two functions and they each receive one parameter, None of the above are true, , When executed this code will not run., When executed this code will run but give the wrong value for the square of the number., When executed this code will run but give the wrong output regarding whether it's an even number., This code will not crash if the user input is '3.5', , This code has a logic error., This code has a syntax error., This code cannot have a runtime error., There are no errors in this code., , If the user enters 100 the numeric output will be 118, If the user enters 100 the numeric output will be 118.00, If the user enters 100 the numeric output will be 18, If the user enters 100 the numeric output will be 18.00, Which of the following are looping constructs in Python?, if..elif..else, for, if..elif..else, match..case, for, while, while, match..case, Which of the following are decision constructs in Python?, if..elif..else, for, if..elif..else, match..case, for, while, while, match..case, A Python function , Can receive 1 or more parameters, Can be called more than once while the program is running, Can return a value to the line calling it, All of the above are true..
0%
Python - input, output, decisions, functions, parameter passing
Sdílet
Sdílet
Sdílet
podle
Galeamg
Upravit obsah
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í
Kvíz
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
Přepnout šablonu
Zobrazit vše
Při přehrávání aktivity se zobrazí další formáty.
)
Otevřené výsledky
Kopírovat odkaz
QR kód
Odstranit
Obnovit automatické uložení:
?