πŸ“Š Python
Q. What is the output of this code?
Code:
print(5 % 2)
  • (A) 2
  • (B) 1
  • (C) 0
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1

Explanation: `%` is the modulo operator. 5 % 2 equals 1.

Explanation by: Mr. Dubey
`%` is the modulo operator. 5 % 2 equals 1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
56
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate