In Python, there are two ways to build an empty array: ... l=[] for i in range(1,n+1):; element = int(input("Enter the element: ")); l.append(element) ...
確定! 回上一頁