Question # 5

Math Formula
What will you see after on the next line?
>>> round(3.9)

1 answer

The round() function in Python rounds a floating-point number to the nearest integer. Therefore, if you run the code:

>>> round(3.9)

The output will be:

4

So, you would see 4 on the next line.