Bug hunts · Quests 9 and 10

Bug hunt: functions and sneaky typos

A tiny typo can stop a whole program. Can you find it?

Question 1 of 5

What is wrong, or how do you fix it?

def greet():
    print("Hi")

greet

See the book Code Quest with Python →