Informatics Practices

Assertion (A): Python is an object-oriented programming language.

Reasoning (R): Using Python, any software can be designed. Everything in Python is an object.

  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

1 Like

Answer

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

Explanation
Python is an object-oriented programming language, which means it supports the concepts of classes and objects. In Python, everything is treated as an object, including integers, strings, functions, and even modules and packages. Using Python, any software can be designed.

Answered By

1 Like


Related Questions