题目链接:力扣 Python可以有多牛掰?一句话(一行代码)解决一个问题。class Solution: def areNumbersAscending(self, s: str) -> bool: return (x:=[int(i) for i in s.split() if i.isdigit()]) and len(set(x)) == len(x) and x == sorted(x)