how to create a function array input python code example
Example: input and ouput array in python
a = []
for i in range(1,n+1):
a.append(int(input("Nhap phan tu thu %d: " % i)))
print(a)
a = []
for i in range(1,n+1):
a.append(int(input("Nhap phan tu thu %d: " % i)))
print(a)