python 题目: 怎么把while循环输出的每一个整数放进列表里呀?

2025-03-10 19:20:33
推荐回答(2个)
回答1:

list1在while外面定义就可以了。

回答2:

list1 = list(range(1, 11))