这个代码就是找一个数字,就不多说了
def fun(n):
x = n
t = 6
while int(x) > 0:
t *= 10
x = x/10
m = n * 10 +6
if t + n == m * 4:
print(m)
for i in range(1, 100000):
fun(i)
标签:body log gpo def pos fun 个数 class int
这个代码就是找一个数字,就不多说了
def fun(n):
x = n
t = 6
while int(x) > 0:
t *= 10
x = x/10
m = n * 10 +6
if t + n == m * 4:
print(m)
for i in range(1, 100000):
fun(i)
标签:body log gpo def pos fun 个数 class int
原文地址:http://www.cnblogs.com/lzh-luke/p/8027160.html