<reponame>joel-razor1/HackerRank_Problem_Solving<gh_stars>1-10
def hurdleRace(k, height):
    a=max(height)
    for i in range(0,len(height)):
        if a<=k:
            maxi=1
        else:
            return a-k
        
    if maxi==1:
        return 0

def hurdleRace(k, height):
    a=max(height)
    for i in range(0,len(height)):
        if a<=k:
            maxi=1
        else:
            return a-k
        
    if maxi==1:
        return 0