Rounding: What will the output of round(3.789) be?

  • 3
  • 3.79
  • 3.8
  • 4

The round() function rounds off a float to a given number of decimal places. Since the number of decimal places is not specified here, it rounds it off to the closest integer. 

Comments