Skip to content

Instantly share code, notes, and snippets.

@afr-dt
Created May 8, 2015 06:04
Show Gist options
  • Save afr-dt/4fd219379e893f2aa058 to your computer and use it in GitHub Desktop.
Save afr-dt/4fd219379e893f2aa058 to your computer and use it in GitHub Desktop.
Tabla de multiplicar en Python
num = int(input("Número a multiplicar"))
rango = range(1,11)
for element in rango:
product = num * element
print (num, '*', element, "=", product)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment