πŸ“Š Python
Q. What will be the output of the following code: print(3 // 2)?
  • (A) 1.5
  • (B) 1
  • (C) 2
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1

Explanation: The '//' operator is used for floor division, which returns the quotient of the division without the remainder. So 3 // 2 is 1.

Explanation by: Ranjeet
The '//' operator is used for floor division, which returns the quotient of the division without the remainder. So 3 // 2 is 1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
188
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
99%
Success Rate