python time execution

import time
start_time = time.time()
print("Hello") 	# Hello
end_time = time.time()
total_time = end_time - start_time
print("Time: ", total_time)

Here is what the above code is Doing:
1. It’s defining a start time.
2. It’s printing “Hello”.
3. It’s defining an end time.
4. It’s calculating the total time.
5. It’s printing the total time.