$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #88

What is printed?

print(divmod(7, 2))
  1. (3, 1)
  2. (1, 3)
  3. 3.5
  4. (3.5, 1)
divmod returns the quotient and the remainder as a tuple.
Play Problem Solving ▸