Posted in: GK

Python_Basic MCQ

Featured Image

Welcome to your Python Quiz

1. 
What is a list in Python?

2. 
Which of the following is an example of a loop in Python?

3. 
Which operator is used for multiplication in Python?

4. 
Which of the following is NOT a valid variable name in Python?

5. 
What is the correct way to print "Hello, World!" in Python?

6. 
What does the import keyword do in Python?

7. 
What is the difference between an if statement and an else if statement?

8. 
What data type is used to store whole numbers in Python?

9. 
What is the keyword used to define a function in Python?

10. 
How do you access the second element in a list called "my_list"?

See also  Da Vinci Resolve

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top