Python Quiz

11. Which of these is a Python keyword?
12. What does the 'len()' function do in Python?
13. Which symbol is used to start a block of code in Python?
14. What is the correct syntax to create a list in Python?
15. How do you create a comment in Python?
16. Which function is used to get user input in Python?
17. What will be the output of: print(5 // 2)?
18. What is the correct file extension for Python files?
19. Which of the following is used to define a block of code in Python?
20. What is the output of: print(type('5'))?

Explore Programming Topics