b = sorted("Python is a popular programming language".split(), key=str.lower) print(b[-1])
a
y
programming
Python