πŸ“Š Problem Solving and Python Programming
Q. The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:
  • (A) (a%b, a//b)
  • (B) (a//b, a%b)
  • (C) (a//b, a*b)
  • (D) (a/b, a%b)
πŸ’¬ Discuss
βœ… Correct Answer: (B) (a//b, a%b)

Explanation: the function divmod(a,b) is evaluated as a//b, a%b, if both ‘a’ and ‘b’ are integers.


Explanation by: Mr. Dubey
the function divmod(a,b) is evaluated as a//b, a%b, if both ‘a’ and ‘b’ are integers.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
308
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate