You are viewing a single comment's thread. Return to all comments →
we should select the proper range otherwise the list becomes out of order, but in this example no need(can select range(0, n))
def birthday(s, d, m, n):
count = 0
for i in range(n-m+1):
count = count + 1
Any quasions, fell free to ask.