|
|
back to boardaccepted Posted by Mikhail 11 May 2018 00:55 ans1 = 0 ans2 = 0 for i in range(1, 10) : for j in range(1, 10) : if i + j < 10 : ans1 += 1 for i in range(0, 10) : for j in range(0, 10) : if i + j < 10 : ans2 += 1 n = int(input()) for i in range (1, n) : ans1 *= ans2 print(ans1) Re: accepted Posted by Artem 16 Jun 2018 15:43 How this work? |
|
|