CBSE Class 11 Computer Science
Question 1 of 80
Getting Started with Python — Question 1
Back to all questions 1
Question Assertion (A): Python is a cross-platform language.
Reasoning (R): Python code can run on a variety of platforms which makes programs very portable as any program written in one platform can easily be used on another.
- 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.
Both A and R are true and R is the correct explanation of A.
Explanation
Python is a cross-platform language, meaning it is platform-independent and can run across different operating systems such as Windows, Linux/Unix, macOS, and others. Python's ability to execute on various platforms enhances the portability of its programs, allowing the same code to be used across different environments without modification.