Quiz: The Pipeline Core

Test yourself on the concepts learned in this chapter.

1

What is the output of the following code?

def howdy_decorator(func):
    print("Howdy, world!")
    return func


@howdy_decorator
def print_hello():
    print("Hello, world!")


if __name__ == "__main__":
    print_hello()
A)
Hello, world!
B)
Hello, world!
Howdy, world!
C)
Howdy, world!
Hello, world!
D)
Howdy, world!
Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.