KnowledgeBoat Logo
|

Computer Science

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.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.

Getting Started

3 Likes

Answer

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.

Answered By

2 Likes


Related Questions