What is a correct way to declare a Python variable?, var x = 5, #x = 5, $x = 5, x = 5, You can declare string variables with single or double quotes., True, False, Variable names are not case-sensitive., True, False, Which is NOT a legal variable name?, my-var = 20, my_var = 20, Myvar = 20, _myvar = 20, How can we create a variable named carname and assign the value Volvo to it?, carname = #Volvo, carname = "Volvo", How can we create a variable named x and assign the value 50 to it., _x = 50, x = 50, 'x' = 50, What is a correct syntax to add the value 'Hello World', to 3 values in one statement?, x, y, z = 'Hello World', x = y = z = 'Hello World', x|y|z| = "Hello World", Chose the correct syntax for assign values to multiple variables in one line:, x, y, z = "Orange", "Apple", "Cherry", x + y + z = "Orange", "Apple", "Cherry", What will be the result of a?, apple, banana, cherry, Considering the following code, what will be the printed result?, Hello, World, Hello World, HelloWorld, Considering the following code, what will be the printed result?, a + b, Hello World, Helloworld, Considering the following code, what will be the printed result?, 45, 9, 4+5, Considering the following code, what will be the printed result?, Python is awesome, Pyton is fantastic, What keyword we must to insert to make the variable x belong to the global scope., int, global, string, Considering the following code, what will be the printed result?, Python is awesome, Python is fantastic.
0%
Python quiq test - Variables
Compartir
Compartir
Compartir
per en/la
Bejancristinaelena
Gimnaziu
Info
Programare în Python
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:
?