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
Compartir
Compartir
Compartir
per en/la
Galeamg
Editar continguts
Imprimir
Incrustar
Més
Assignacions
Tauler de classificació
Mostrar-ne més
Mostrar-ne menys
Aquesta taula de classificació és privada actualment. Fés clic a
Compartir
per fer-la públic.
El propietari del recurs ha inhabilitat aquesta taula de classificació.
Aquesta taula de classificació està inhabilitada perquè que les teves opcions són diferents a les del propietari del recurs.
Reverteix les opcions
Qüestionari
és una plantilla de final obert. No genera puntuacions per a una taula de classificació.
Cal iniciar la sessió
Estil visual
Tipus de lletra
Subscripció obligatòria
Opcions
Canvia de fonament
Mostrar-ho tot
Apareixeran més formats a mesura que jugueu a l'activitat.
)
Resultats oberts
Copiar enllaç
Codi QR
Suprimir
Restaurar desada automàtica:
?