def notas(nums,x): n = 0 newx = [] for y in nums: if x != y: newx.append(y) return newx def add(to, fo): global numnow for x in fo: numnow.append(x) if to + x == 50: print(str(to) + ',' + str(numnow) + ',' + str(len(numnow))) elif to + x < 50: add(to + x, notas(fo, x)) numnow = numnow[:-1] numbers = [25,27,3,12,19,6,17,24] numnow = [] add(0,numbers) 그저께 동생이 학교 문제라면서 가져왔었다. 합해서 50이 되는 숫자들을 고르라는 문..