Home
Python Quiz
1. What is the correct keyword to define a function in Python?
def
function
define
2. Python is a compiled language. (True or False)
False
True
3. Match the data types with their examples
"Hello"
42
[1,2,3]
String
Integer
List
4. Match each Python concept to its description
Loop:
--Select--
Repeats code
Stores data
Defines a function
Variable:
--Select--
Repeats code
Stores data
Defines a function
Submit Quiz