Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Código para tabla de multiplicar #1

Open
LeticiaOlivera opened this issue Sep 5, 2023 · 0 comments
Open

Código para tabla de multiplicar #1

LeticiaOlivera opened this issue Sep 5, 2023 · 0 comments

Comments

@LeticiaOlivera
Copy link
Owner

`# Tablas multiplicar 1

x = int (input ("Ingresa el numero: "))
tabla = [x * 1, x * 2, x * 3, x * 4, x * 5, x * 6, x * 7, x * 8, x * 9, x * 10]

if x < 0:
x = 0
print ("Intentalo de nuevo, solo números enteros positivos.")

elif x == 1:
print (tabla)

elif x == 2:
print (tabla)

elif x == 3:
print (tabla)

elif x == 4:
print (tabla)

elif x == 5:
print (tabla)

elif x == 6:
print (tabla)

elif x == 7:
print (tabla)

elif x == 8:
print (tabla)

elif x == 9:
print (tabla)

elif x == 10:
print (tabla)

else:
print ('El valor agregado está fuera del alcance permitido')`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant