Predict the output · Quests 9 and 10

Predict the output: functions and lists

Functions hide steps and lists hold many values. Can you follow both?

Question 1 of 5

What does this code print?

def hello():
    print("Hi!")

hello()
hello()

See the book Code Quest with Python →