Learn-python-3/quizzes/functions-quiz

Here is the quiz question:

I copy and paste the quiz question in python:

time = "3pm" mood = "good" def report(): print("The current time is " + time) print("The mood is " + mood) print("Beginning of report") report()

The outcome are 3 outputs.

I am confused why there are 3 outputs rather than “two strings are printed”

Is because that the question asks what happens when I call report()?
I should ignore print(Beginning of report)?

The question is, “what happens when we call report()?”. ‘Beginning of report’ is already on the display.

Thanks for a quick response

1 Like