Write a program that takes a floating point number as input and prints its integer part only.
"a" is a variable.
"float" we will collect input as a floating point number and that's why we put float.
a = float(input("enter float"))
int = integer
print it's integer part Only and thats why we put int before variable 'a'.
print(int(a))
final code and answer:
a = float(input("enter float"))
print(int(a))