squares = [x**2 for x in range(10)]. which is more concise and readable. A list comprehension consists of brackets containing an expression followed by a ...
確定! 回上一頁