一、题目 二、示例 输入:1 返回值:[1,2,3,4,5,6,7,8,9] 三、代码 class Solution: def printNumbers(self , n: int) -> List[int]: return [i for i in range(1, 10**n)] 四、算法说明 略。 胡萝卜 2022年7月30日15:59:07 我不知道将去向何方,但我已在路上! 时光匆匆,虽未曾谋面,却相遇于斯,实在是莫大的缘分,感谢您的到访 !