+ 2
How do I add a name to all the elements of a list?
Example: Words=[āhiā, āmeā, ...] Words_1=[āuphiā , āupmeā..]
3 Answers
+ 5
Or:
words=["hi", "me", "you"]
words = list(map(lambda word: word + "up", words))
print(words)
+ 2
[s + mystring for s in mylist]
0
Thaks a lot!