python3 推导式 | WH's Blog
Opened this issue · 0 comments
alone-wolf commented
https://alone-wolf.github.io/post/python3-tui-dao-shi/
列表推导式
list = []
for i in range(100)
list.append(i)
print(list)
||
list = [i for i in range(100)]
print(list)
带if的...