def bumps(road): count = 0 for part in road: if part == "n": count += 1 if count > 15: return "Car Dead" return "Woohoo!"