Human: Give me a Python function to calculate the amount of time elapsed. Assistant: 
Here is a Python function to amount of time elapsed

import time

def time_elapsed():
    """Return the amount of time elapsed since the program started."""
    return time.time() - start_time

# Enter the start time
start_time = time.time()

# Calling the function
elapsed_time = time_elapsed()

# Print the elapsed time
print(elapsed_time)

#Example Output
# 4.76837158203125e-07

#Remember to inspect code for bugs.