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
Поділитися
Поділитися
Поділитися
автор:
Bejancristinaelena
Gimnaziu
Info
Programare în Python
Редагувати вміст
Друкувати
Вбудувати
Більше
Завдання
Список переможців
Показати більше
Показати менше
Цей список ресурсів наразі є приватним. Натисніть
поділитися
, щоб зробити його публічним.
Власник/-ця ресурсу приховав/-ла список переможців.
Цей список переможців був прихований, оскільки ваші параметри відрізняються від параметрів власника/-ці ресурсу.
Відновити параметри
Вікторина
— відкритий шаблон. Тут не генеруються бали для списку переможців.
Вхід обов’язковий
Візуальний стиль
Шрифти
Потрібна підписка
Параметри
Обрати інший шаблон
Показати всі
Під час відтворення вправи відображатиметься більше форматів.
Відкриті результати
Копіювати посилання
QR-код
Видалити
Відновити автоматично збережене:
?