Files
Function/aufgaben/pr_aufgaben/02_trump_style.py
T
2026-11-04 21:01:26 +01:00

6 lines
178 B
Python

#map-filter-iteratoren
words=["Hofmann","was","right","about","something"]
result= list(map( lambda w: w.upper(), words))
print(result)
senstence= "".join(words)
print(senstence)