Q. What will be the output of the following code?

Code:
print(10 % 3)
  • (A) 3
  • (B) 1
  • (C) 0
  • (D) 10
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1
Explanation: The % operator returns the remainder. 10 % 3 = 1.
Explanation by: Ankit Singh
The % operator returns the remainder. 10 % 3 = 1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
63
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Ankit Singh
Publisher
πŸ“ˆ
98%
Success Rate