Question-53: Please map the following
- print(5//2.2)
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer:
2.0
2
2.0
2.0
Exp:
- print(5//2.2) # Dividing with float hence. It would generate floating value but always rounded.
- print(5//2) # Both are integer value. Hence, it would generate Integer value.
-
You can access to full explanation to question and answer from this page.