📅  最后修改于: 2022-03-11 14:45:47.395000             🧑  作者: Mango
size=int(input("ENTER ARRAY SIZE"))arr=[]for i in range(size): element=int(input()) arr.append(element)print("SUM OF ARRAY : ",sum(arr))