EasyOutput prediction

match with a wildcard

What does this code print? (Python 3.10+)

command = "quit"
match command:
    case "start":
        print("starting")
    case "stop":
        print("stopping")
    case _:
        print("unknown")

← → arrow keys to navigate

Sign in to save your progress.