You are viewing a single comment's thread. Return to all comments →
def hurdleRace(k, height): # Write your code here s = 0 if k > max(height): return 0 if k < max(height): s = max(height) - k return s
Seems like cookies are disabled on this browser, please enable them to open this website
The Hurdle Race
You are viewing a single comment's thread. Return to all comments →
def hurdleRace(k, height): # Write your code here s = 0 if k > max(height): return 0 if k < max(height): s = max(height) - k return s