[Programmers] 부족한 금액 계산하기
Python def solution(price, money, count): answer = 0 for i in range(1, count + 1): answer += price * i if answer - money >= 0...
Python def solution(price, money, count): answer = 0 for i in range(1, count + 1): answer += price * i if answer - money >= 0...
Python ~~~python def solution(n): answer = ‘’
Python def solution(board, moves): answer = 0 temp = [] for i in moves: for j in board: if j[i - 1] != 0: if ...
Python def solution(absolutes, signs): answer = 0 for i in range(len(signs)): if signs[i] == True: answer += absolutes[i] ...
Python def solution(numbers): answer = 0 temp = [0,1,2,3,4,5,6,7,8,9] for i in temp: if i not in numbers: answer += i ...