Skip to content
loading...

re: Daily Challenge #16 - Number of People on the Bus VIEW POST

FULL DISCUSSION
 

Python:

bus_array = [(10,0), (2,1), (1,11)]
passengers_left = sum([entered - left for entered, left in bus_array])
code of conduct - report abuse