150,558 views
37 votes
37 votes
Write a line of code in python that prints the integer portion of the number 21.45.

User Behzad
by
3.0k points

1 Answer

21 votes
21 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 Waseem Shah
by
3.4k points