Files
2025-05-20 11:57:43 -04:00

8 lines
186 B
Python

#!/usr/bin/env python
fruits = ['watermelon', 'Apple', 'Mango', 'KIWI', 'apricot', 'LEMON', 'guava']
sfruits = sorted(fruits, key=lambda e: e.lower()) # <1>
print(" ".join(sfruits))