function.py
#say_hello()Calling before defining a function will result in an error def say_hello(): print('Hi!') def add(a, b): return a+b say_hello() print(add(10,20))
Output result
Hi! 30
Recommended Posts