A simple function - use as it is
This is just a simple function. We can call it. It is just an example.
import time
def myfunc():
print("myfunc started")
time.sleep(1)
print("myfunc ended")
myfunc()
The output looks simple:
myfunc started
myfunc ended