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
When it runs, what will the following program print to the console?
string = "bnn" string_list = list(string) fruit = "a".join(string_list) print(fruit)
banana
banan
bnna
abnn