383,890 views
25 votes
25 votes
Write a program to input any 10 numbers in an array and display it.​

User Rahul Kumar
by
2.7k points

2 Answers

12 votes
12 votes
I don’t know the answer to your question :)
User Tolokoban
by
2.6k points
20 votes
20 votes

Answer:

list1=[]

n=10

for i in range(n):

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

list1.append(z)

print(list1)

User Amath
by
3.0k points