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
Del
Del
Del
af
Galeamg
Rediger indhold
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
Quiz
er en åben skabelon. Det genererer ikke resultater for en rangliste.
Log ind påkrævet
Visuel stil
Skrifttyper
Kræver abonnement
Indstillinger
Skift skabelon
Vis alle
Der vises flere formater, mens du afspiller aktiviteten.
)
Åbne resultater
Kopiér link
QR-kode
Slette
Gendan automatisk gemt:
?