Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

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

Question

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

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 rounding - rule to 7.8

Since 0.8 > 0.5, 7.8 is rounded up.

Answer:

8