python 1~9 任意组合两位不重复,小于90

for n in range(1,10):
    num = n*10
    for i in range(1,10):
        a = num+i
        b = a/i
        if b==11:
            pass
        elif a > 90:
            pass
        else:
            print(a)

 

转载于:https://www.cnblogs.com/chentianjia2019/p/10080295.html

    原文作者:躲不过这哀伤
    原文地址: https://blog.csdn.net/weixin_30924239/article/details/97019096
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞