Advertisement
nosthemerc

Untitled

Nov 9th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #Write your function here
  2. def add_greetings(names):
  3.   new_names = ['Hello, ' + i for i in names]
  4.   names.append(new_names)
  5.  
  6. #Uncomment the line below when your function is done
  7. print(add_greetings(["Owen", "Max", "Sophie"]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement