Question-52: Which of the following statements are correct for “//” operator in Python?
- If you want to get Integer value after division use this.
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: A, B, C, D
Exp:
- “/” for Division
- It produces always float value.
- “//” for division
- If you want to get Integer value after division use this.
- Results are always rounded.
-
You can access to full explanation to question and answer from this page.