M3R5 Python Basics MCQ
Practice M3R5 Python basics MCQ for Unit 1. Free Python basics quiz covering variables, data types, operators, and input/output. Test your Python fundamentals for O Level M3R5.
Python Basics MCQ - Unit 1 Practice
Master Python basics for O Level M3R5 with our comprehensive MCQ practice. Our Python basics MCQ covers variables, data types, operators, input/output, and fundamental Python concepts.
Python Basics MCQ Practice Questions
What is the output of 10 / 4 in Python 3?
What is the output of 10 // 4 in Python 3?
Which of the following is the logical AND operator in Python?
Is a 'comprehension' variable (e.g. [x for x in range(5)]) leaked to the outer scope in Python 3?
What is the scope of a variable defined in a 'for' loop in Python?
What does Python do if it cannot find a variable in any of the LEGB scopes?
What is the output of 'python'.capitalize()?
What is the output of 'Python'.find('z')?
What is the output of 'Python'.index('z')?
What is the output of 'python'[1:4]?