CBSE Class 11 Informatics Practices Question 4 of 62

Getting Started with Python — Question 4

Back to all questions
4
Question

Question 4

Assertion (A): Python is a cross-platform language.

Reasoning (R): Python code can run on a variety of platforms such as windows, Macintosh and Apple.

  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.
Answer

Both A and R are true and R is the correct explanation of A.

Explanation
Python is a cross-platform language because it can run on various operating systems, such as Windows, Macintosh, Apple, Linux etc.