帮小朋友写的第一个程序
numbers=[]
while True:
num=input('Enter a number:')
if num=='done':
break
elif num.isnumeric():
numbers.append(int(num))
else:
print('invalid input')
print(numbers)
import numpy as np
list=np.array(numbers)
print(list)
print(list.max())