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 functions successfully returns triple the variable num?
num
def triple(num * 3): return
def triple(num): num * 3
def triple(): return num
def triple(num): return num * 3