QUESTION IMAGE
Question
what will you see on the next line?
>> int(5.6)
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
5