Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
Takes a list as an argument and extends the current list with the list given as an argument. ``` current_list = ["hi", "hello"] current_list.extend(["greetings", "hey"]) # current_list will now be ["hi", "hello", "greetings", "hey"] ```