Answered You can hire a professional tutor to get the answer.

QUESTION

How can I add headers quot;Minutequot;, quot;Arrivalsquot;, quot;Departuresquot;, quot;Waitingquot; to the following function?

How can I add headers "Minute", "Arrivals", "Departures", "Waiting" to the following function?

def sim_line(time, arrive, depart, curr_wait) :

  return '{0:^10d}{1:^10d}{2:^10d}{3:^10d}' .format(time, arrive, depart, curr_wait)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question