49.6k views
22 votes
Write a line of code in python that prints the integer portion of the number 21.45.

1 Answer

3 votes

Answer:

print("21")

Step-by-step explanation:

the integer is a whole number not a float, the part of the decimal which is a whole number is 21

thank me later

User Beigel
by
5.3k points