w = ["Hofmann", "was", "right", "about", "something"] r = map(lambda w: w.upper(), w) s = " ".join(r) print(s)