python的一行代码

如下所示

class Solution:
    def printNumbers(self , n: int) -> List[int]:
        return [k+1 for k in range(int('9'*n))]