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
Which of the following programs will print 24 in the console?
def quadruple(): return num * 4 print(quadruple(6))
def quadruple(num): return num * 4 print(quadruple(6))
def quadruple(num * 4): return print(quadruple(6))
def quadruple(num): num * 4 print(quadruple(6))