num_texto=input("Ingresa un numero: ")

num_entero=int(num_texto)

print(f"Tu texto en numero es {num_entero}")

Embed on website

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