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
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.