Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
lifang =[value**3 for value in range(1,11)] print(lifang)
cubes = [number**3 for number in range(1,11)] for cube in cubes: print(cube)
输出是一样的 1 8 27 64 125 216 343 512 729 1000