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
Jaga
Jaga
Jaga
looja
Bejancristinaelena
Gimnaziu
Info
Programare în Python
Redigeeri sisu
Prindi
Manusta
Veel
Ülesandeid
Edetabel
Näita rohkem
Näita vähem
See edetabel on praegu privaatne. Selle avalikustamiseks klõpsake käsul
Jaga
.
Materjali omanik on selle edetabeli keelanud.
See edetabel on keelatud, kuna teie valikud erinevad materjali omaniku omadest.
Taasta valikud
Viktoriin
on avatud mall. Sellega ei saa edetabeli punkte.
Sisselogimine on nõutud
Visuaalne stiil
Fondid
Vajalik tellimus
Valikud
Vaheta malli
Näita kõike
Tegevust mängides kuvatakse rohkem vorminguid.
Avatud tulemused
Kopeeri link
QR-kood
Kustuta
Kas taastada automaatselt salvestatud
?