列表解析
https://www.nowcoder.com/practice/d2806b4e48634a9cbb93ab78fb6bd0b1
print([x for x in range(0, 10)])
相关推荐