Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

what will you see on the next line? >>> int(5.6)

Question

what will you see on the next line?

>> int(5.6)

Explanation:

Step1: Understand int function

The int() function in Python truncates the decimal part of a floating - point number and returns the integer part.

Step2: Apply to 5.6

When int(5.6) is executed, the decimal part .6 is removed.

Answer:

5