Question: python Color the Time Indicator In TODO 1 , your task is to complete the body of the time_color function. The function has the time
Color the Time Indicator In TODO 1 , your task is to complete the body of the time_color function. The function has the time parameter that expects an int corresponding to the time (in seconds) that is remaining in the game. The function should return "black" if the argument provided to time is greater than 10 . It should return "orange" if it is greater than 5 and smaller or equal to 10 . Finally, it should return "red" if it is equal to or smaller than 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
