Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Write your function here
- def add_greetings(names):
- new_names = ['Hello, ' + i for i in names]
- names.append(new_names)
- #Uncomment the line below when your function is done
- print(add_greetings(["Owen", "Max", "Sophie"]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement