QUESTION IMAGE
Question
what will you see on the next line?
>> int(6.5)
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 6.5
When int(6.5) is executed, it will return 6.
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
6