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

asked
User Jozcar
by
7.1k points

2 Answers

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

Answer:

list1=[]

n=10

for i in range(n):

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

list1.append(z)

print(list1)

answered
User Puiu
by
7.5k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.

Categories