Algorithm/PS
[BOJ/백준] 6794 - What is n, Daddy? [python]
문제 링크 6794번: What is n, Daddy? Natalie is learning to count on her fingers. When her Daddy tells her a number n (1 ≤ n ≤ 10), she asks “What is n, Daddy?”, by which she means “How many fingers should I hold up on each hand so that the total is n?” To make matters simple, her www.acmicpc.net 문제 풀이 1 부터 10까지의 수를 두 손으로 표현할 수 있는 방법의 수를 출력해주는 문제이다. 본인은 왼손이 항상 더 큰 수를 가지는 것으로 풀었다. 반복 규칙 (n 일 경우) 왼손이 항상..