http://cp1.nintendo.co.jp/ There is a problem with. Below spoilers
I wrote as follows.
ans.py
#! /usr/bin/env python
def range_check(func):
    return lambda m, e, n, c: ((0 <= m and m < n) and func(m, e, n, c)) or ""
@range_check
def lets_take_tea_bread(m,e,n,c):
    return str(m)
a = 1
while True:
    if int(a)**17%3569==915 :
        print (lets_take_tea_bread(a,17,3569,915))
        break
    a=a+1
        Recommended Posts