Files
matrixmania/02_trump_style.py
T
2026-10-29 13:17:57 +01:00

7 lines
264 B
Python

words = ["huge", "great", "tremendous", "fake news"]
# Strings in Großbuchstaben umwandeln und "!" anhängen
result = list(map(lambda word: word.upper() + "!", words))
print("Ergebnis:", result)
#assert result == ["HUGE!", "GREAT!", "TREMENDOUS!", "FAKE NEWS!"]