This article describes how to use the for loop in Python. ... squares = [] for i in range(5): squares.append(i**2) print(squares) # [0, 1, ...
確定! 回上一頁