38.9k views
5 votes
Write a program to input any 10 numbers in an array and display it.​

User Jozcar
by
4.0k points

2 Answers

8 votes
I don’t know the answer to your question :)
User Schmalzy
by
5.2k points
4 votes

Answer:

list1=[]

n=10

for i in range(n):

z=int(input("Enter number:"))

list1.append(z)

print(list1)

User Puiu
by
4.0k points