Predict

Return or Print?

print and return can look similar, but they do very different jobs. print shows text on the screen. return hands a value back to the code that called the function.

def double(n):
    print(n * 2)

result = double(4)
print(result)

What does this program print?