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 will be the output when this program is run?
sentence_1 = "Computers are incredibly fast, accurate, and stupid" sentence_2 = "Human beings are incredibly slow, inaccurate, and brilliant" sentence_3 = "Together they are powerful beyond imagination" author = "Einstein" secret_word = author[-3] + sentence_2[-5] + sentence_1[6] + sentence_2[10] + sentence_2[3] + author[-1] + sentence_1[5] print(secret_word)
sneaped
sleeper
else if
elegant