Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

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

Question

what will you see on the next line?

>> round(5.7)

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: Analyze 5.7

Since 0.7 > 0.5, 5.7 rounds up.

Answer:

6