@gunsnrosesgirl3 Unfortunately for him 20 days. A waist of 20 meters during the nights. He basically climbs 60 meters throughout his journey only to lose 20 meter while he sleeps. Life lesson.
days = [0] heights = [0] day = 1 height = 0 while True: height += 3 days.append(day) heights.append(height) if height >= 40: break height -= 1 days.append(day) heights.append(height) day += 1 plt.figure(figsize=(10, 6)) plt.plot(days, heights, marker='o', linestyle='-', color='b') plt.title('Height vs. Day') plt.xlabel('Day') plt.ylabel('Height') plt.grid(True) plt.xticks(range(0, day + 1)) plt.show()
@gunsnrosesgirl3 19 days. Because by then he is out, and won't bother falling back again.
@gunsnrosesgirl3 @kerogurii solve mo nga to IT ka diba? Hahahaha