Answer to Question #17310 in Python for Blair Sharpe
right here im trying to:Write a program that allows the user to enter up to 20 numbers to be stored in an array.
my code:
i = 0
while i<10:
a = int(input('enter a number:'))
b = []
b.append(a)
i+=1
if i==10:
print (b)
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Python
Comments
Leave a comment