Quick actions

cmd+k|ctrl+k

Navigation

Languages

EX1

Snippet info

Language

Python

Visibility

public

Author

natloopez

Created

2020-10-23T08:04:28Z

Updated

2020-10-23T08:04:28Z

import sys
print ("EJERCICIO 1")
numero = int(input("Introduzca el tamaño de arreglo: "))
if numero < 1:
    print("¡Imposible!")
else:
    arr1 = []
    for arr1_i in range(numero):
        print("Escriba el numero del arreglo 1: ", str(i + 1) + ": ", end="")
        elnumero = input()
        arr1 += [elnumero]
        print("La lista creada es:", arr1)
INFO