82.9k views
1 vote
What will you see on the next line?
>>>int(12.8)
___

What will you see on the next line? >>>int(12.8) ___-example-1
User Hymenoby
by
6.5k points

1 Answer

3 votes

Answer:

12

Step-by-step explanation:

When you use the int() function on a float, it only cuts off everything past the decimal. Literally all it does. Also, the int() function doesn't round the number. Thus, proving the answer is 12.

hope i helped :D

User MatrixTXT
by
5.6k points