print("Dame un número decimal")
a=float(input())
print("El numero entero de",a,)
b=int(a)
print("en número entero es",b)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: