CBSE Class 11 Informatics Practices
Question 3 of 102
Python Programming Fundamentals — Question 3
Back to all questions 3
Question Assertion (A): In Python, integers are zero, positive or negative whole numbers without a fractional part.
Reasoning (R): -45, 655.55, -1000, 55.89 are the integer values in Python.
- 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 true but R is false.
Explanation
Integer represents whole numbers without any fractional part. They can be zero, positive or negative. -45, -1000 are the integer values in Python while 655.55, 55.89 are floating-point numbers.