Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 16, 2021
Embed
What would you like to do?
# https://parzibyte.me/blog
cadena = "500.5"
flotante = float(cadena)
print(flotante+1.5) # 502.0
# También enteros
cadena = "10"
entero = int(cadena)
print(entero+10) # 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment