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
What should be added to Line 5 so that quicker is printed to the console?
quicker
string_one = "ticket" string_two = "cereal" string_three = "quantity" string_four = # what code goes here? print(string_four)
string_three[:1] + string_one[1:3] + string_two[1:1]
string_three[:2] + string_one[1:4] + string_two[1:3]
string_three[1:3] + string_one[2:5] + string_two[2:4]
string_three[1:4] + string_one[2:6] + string_two[2:5]