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
Διαγραφή
Επαναφορά αυτόματα αποθηκευμένου:
;