Exercise: Call existing function
Here, we define a function named func that prints a message. However, there's a small mistake when calling the function. Correct the code so that func is executed, and the message is printed.
def func():
print('Hello from func')
# fix code here...
func
# expected output: Hello from func
Python
Setting up Python environment...
Output