Welcome to the Treehouse Community
Looking to learn something new?
challenge 4 of 4 on python basics
Great! Finally, make a variable named greeting where you join greeting_list back into a string, separated by spaces. You should end up with "Hi, I'm <your first name>" as the value of greeting.
full_name="munyaradzi muduka" name_list=full_name.split(" ") greeting_list="Hi, I'm Treehouse".split() greeting_list=name_list greeting=
William LiCourses Plus Student 26,865 Points
string class in Python has a
.join() method that you can use to join a list back to a String.
greeting = " ".join(greeting_list)
H ie, William Lee,thank you so much it worked