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
Bendrinti
Bendrinti
Bendrinti
prie
Bejancristinaelena
Gimnaziu
Info
Programare în Python
Redaguoti turinį
Spausdinti
Įterpti
Daugiau
Užduotis
Lyderių lentelė
Rodyti daugiau
Rodyti mažiau
Ši lyderių lentelė šiuo metu yra privati. Spustelėkite
Bendrinti
, kad ji būtų vieša.
Ši lyderių lentelė buvo išjungta išteklių savininko.
Ši lyderių lentelė yra išjungta, nes jūsų parinktys skiriasi nuo nustatytų išteklių savininko.
Grąžinti parinktis
Viktorina
yra neterminuotas šablonas. Jis negeneruoja rezultatų lyedrių lentelei.
Reikia prisijungti
Vizualinis stilius
Šriftai
Būtina prenumerata
Parinktys
Pakeisti šabloną
Rodyti viską
Pradėjus veiklą bus rodoma daugiau formatų.
Atviri rezultatai
Kopijuoti nuorodą
QR kodas
Naikinti
Atkurti automatiškai įrašytą:
?