题解 | #列表解析#
列表解析
https://www.nowcoder.com/practice/d2806b4e48634a9cbb93ab78fb6bd0b1
使用列表解析进行0-9的元素列表输出
print([i for i in range(0, 10)])
列表解析
https://www.nowcoder.com/practice/d2806b4e48634a9cbb93ab78fb6bd0b1
print([i for i in range(0, 10)])
相关推荐