python/公开课/文档/年薪50W+的Python程序员如何写代码/code/Python/opencourse/part01/example03.py

5 lines
86 B
Python
Raw Normal View History

2024-12-04 00:04:56 +08:00
values = [True] * 10
print(values)
numbers = [x for x in range(1, 11)]
print(numbers)