$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · medium · #65

What is printed?

print(round(2.5), round(3.5))
  1. 2 4
  2. 3 4
  3. 2 3
  4. 3 3
Python rounds halves to the nearest EVEN number (banker's rounding).
Play Problem Solving ▸