Question Title

1. Which of the following best describes Python? (Required.)

Question Title

2. Which of the following is a correct variable name in Python? (Required.)

Question Title

3. What is the output of the following code: print(type(42)) (Required.)

Question Title

4. Which symbol is used for comments in Python? (Required.)

Question Title

5. What does the following code do: x = [1, 2, 3, 4] print(x[2]) (Required.)

Question Title

6. How do you create a list in Python? (Required.)

Question Title

7. What will be the output of the following code: print(3 ** 2) (Required.)

Question Title

8. Which of the following is not a Python data type? (Required.)

Question Title

9. What does the len() function do? (Required.)

Question Title

10. How do you start a function in Python? (Required.)

Question Title

11. Which keyword is used to create a loop in Python? (Required.)

Question Title

12. What is the correct way to import a module in Python? (Required.)

Question Title

13. What is the output of the following code: print(10 // 3) (Required.)

Question Title

14. How do you add an item to a list in Python? (Required.)

Question Title

15. What is the result of the following expression: 5 == 5 (Required.)

Question Title

16. How do you declare a dictionary in Python? (Required.)

Question Title

17. What is the purpose of the "break" statement in a loop? (Required.)

Question Title

18. What does the following code return: "Hello, World!".lower() (Required.)

Question Title

19. Which of these is a valid way to handle exceptions in Python? (Required.)

Question Title

20. What is the output of the following code: print(bool(0)) (Required.)

Question Title

21. How do you create a tuple in Python? (Required.)

Question Title

22. What will the following code print: x = "Python" print(x[0:-3]) (Required.)

Question Title

23. How do you check the type of a variable in Python? (Required.)

Question Title

24. What is the purpose of the "pass" statement in Python? (Required.)

Question Title

25. What will this code output: print("Python " + "Quiz") (Required.)

T