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 is displayed as a result if the user inputs Basketball to the program?
DISPLAY("Enter your favorite sport: ") sport ? INPUT() DISPLAY("You entered:") DISPLAY(sport) DISPLAY(".")
“Enter your favorite sport: ” Basketball “You entered:” “Basketball” “.”
Enter your favorite sport: Basketball You entered: Basketball .
Enter your favorite sport: Basketball You entered:Basketball.