modified
This commit is contained in:
1 parent
d327f5d7e6
commit
8431a9955a
4 files changed
+4
-13
No files matched your search
@@ -1,7 +1,5 @@
|
||||
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!"]
|
||||
Reference in new issue
Block a user