Functions
8 / 20
EasyOutput prediction

Forgetting to return a computed value

What does this code print?

def double(n):
    result = n * 2

x = double(5)
print(x)

← → arrow keys to navigate

Sign in to save your progress.