def lexicalOrder(n: int) -> list[int]:#pythonзадача #coбес
return [int(i) for i in sorted(str(i) for i in range(1, n + 1))]
Post #1327
2.18K
Ответ к предыдущей задаче для новичков.