CBSE Class 11 Computer Science
Question 6 of 80
Getting Started with Python — Question 6
Back to all questions 6
Question Assertion (A): The shortcut key to run a Python program from script mode is F1.
Reasoning (R): Python programs/scripts are stored in files with .py extension.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
A is false but R is true.
Explanation
The shortcut key to run a Python program from script mode is F5. Python programs/scripts are stored in files with .py or .pyw extension.