Basics of Python – Multiple Choice Questions (MCQs)
- 
                        
- 
                        2. Which keyword is used to define a function in Python?
- 
                        3. What is the data type of `x = 5.0`?
- 
                        4. Which of the following is a mutable data type in Python?
- 
                        5. What is the output of `print('Hello' + 'World')`?
- 
                        6. Which symbol is used for single-line comments in Python?
- 
                        7. What is the output of `print(5 // 2)`?
- 
                        8. Which of the following is NOT a valid variable name in Python?
- 
                        9. What is the data type of `x = True`?
- 
                        10. What is the output of `print(5 % 2)`?
- 
                        11. Which function is used to get user input in Python?
- 
                        12. What is the output of `print(type([1, 2]))`?
