1) Who created Python? a) Elon Musk b) Mark Zuckerberg c) Guido van Rossum d) Bill Gates 2) What year was Python released? a) 2000 b) 1991 c) 1985 d) 1995 3) Which of the following is NOT a use of Python? a) Making sandwiches b) Web development c) Software development d) Mathematics 4) What is a variable in Python? a) A command b) A type of error c) A container to store data d) A function 5) Which of these is a correct way to create a variable in Python? a) 5 = x b) x == 5 c) var x = 5 d) x = 5 6) Which symbol is used to start a variable name? a) @ b) # c) A letter or underscore (_) d) A number 7) What does the print() function do? a) Deletes a variable b) Shows the output c) Saves the file d) Sends an email 8) What is the data type of: x = "Hello"? a) int b) float c) str d) list 9) What is the data type of: x = [1, 2, "apple"]? a) str b) list c) int d) dict 10) What does the type() function show? a) The variable name b) The data type c) The value d) The length

Leaderboard

Visual style

Options

Switch template

Continue editing: ?