what will you see on the next line?\n>>> round(5.7)

what will you see on the next line?\n>>> round(5.7)

what will you see on the next line?\n>>> round(5.7)

Answer

Explanation:

Step1: Recall rounding - rule

The round() function in Python rounds a number. If the decimal part is 0.5 or greater, it rounds up; if less than 0.5, it rounds down.

Step2: Apply to 5.7

Since 0.7 > 0.5, 5.7 rounds up.

Answer:

6