In this problem, make the profiling running slow_running_func inside the run_scenario function using the cProfile library as shown in the topic.
- The function
slow_running_funcdoes not accept any parameter; - The code inside
run_scenarioshould profile the run of theslow_running_func, and print the profile stats.
HINT: You can use the cProfile-based profiling shown in the topic using enable()/disable() ...