print("Dame un número")
a=str(input())
b=float(a)
print("El decimal de tu numero definido como texto es igual a",b)

Embed on website

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