Pythonorp Python Quiz – Easy Mode Leave a Comment / By pythonorp@gmail.com / February 27, 2025 Welcome to your Pythonorp Python Quiz - Easy Mode Name Email 1. What is the output of print(2 ** 3 ** 2)? 64 512 256 16 None 2. Which of the following data types is immutable in Python? List Dictionary Set Tuple None 3. What will list(range(5, 0, -1)) return? [5, 4, 3, 2, 1] [5, 4, 3, 2] [4, 3, 2, 1, 0] [5, 3, 1] None 4. What does print(bool([])) output? True False Error None 5. How do you correctly create a function in Python? def myFunc(): function myFunc(): define myFunc(): func myFunc(): None 6. Which keyword is used to define a class in Python? define class object struct None 7. What is the correct way to open a file for writing in Python? open("file.txt", "r") open("file.txt", "a") open("file.txt", "w") open("file.txt", "x") None 8. What will print("5" + "5") output? 10 55 None 9. What is the correct way to create a set in Python? {1, 2, 3} [1, 2, 3] (1, 2, 3) set[1, 2, 3] None 10. Which of the following is NOT a valid Python variable name? _my_var 123var myVar var_123 None Please fill in the comment box below. Time's upTime is Up!