๐Ÿ“Œ ํ•ต์‹ฌ๋กœ์ง(์œ ํ˜• ํŒŒ์•…)

๐Ÿ“Œ ์†Œ์Šค์ฝ”๋“œ (My Solution)

def solution(hp):
    answer = 0
    # ์žฅ๊ตฐ 5 ๋ณ‘์ • 3 ์ผ 1
    
    answer += (hp//5)
    hp%=5
    answer += (hp//3)
    hp%=3
    answer+= int(hp)
    
    return answer

๐Ÿ“Œ ์ฝ”๋“œ ํšŒ๊ณ