Professional lurker, part-time poster

  • 32 Posts
  • 66 Comments
Joined 2 年前
cake
Cake day: 2022年10月16日

help-circle

  • I figured it out! I just needed to use break.

    num = []
    Ms = []
    def Fmmin(va):
        while va == 0:
            for n in range(2, number):
                if number % n == 0:
                    va = n
                    break
                if n == number - 1 and number - 1 % n != 0:
                    va = '0'
        return va
    def Fmmax(va):
        while va == 0:
            for n in range(number-1, 1, -1):
                if number % n == 0:
                    va = n
                    break
                if n == 2 and number % n != 0:
                    va = '0'
        return va
    
    for f in range(1,10000000):
        number = 452021 + f
        mmin = 0
        mmax = 0
        mmin = Fmmin(mmin)
        mmax = Fmmax(mmax)
        if int(mmax) > 0 and int(mmin) > 0:
            M = mmax + mmin
            if M % 7 == 3:
                num.append(number)
                Ms.append(M)
        if len(num) >= 5:
            break
    print(Ms)
    print(num)
    

  • num = []
    Ms = []
    while len(num) <= 5:
        for f in range(1,1000000):
            a = 452021 + f
            mmin = 0
            mmax = 0
            while mmin == 0:
                for n in range(2,a-1):
                    if a % n == 0:
                        mmin = n
                    if n == a-1 and a % n != 0:
                        mmin = '0'
            while mmax == 0:
                for n in range(a-1,2,-1):
                    if a % n == 0:
                        mmax = n
                    if n == 2 and a % n !=0:
                        mmax = '0'
            M = int(mmax) + int(mmin)
            if M % 7 == 3:
                num.append(a)
                Ms.append(M)
    print(Ms)
    print(num)
    



















  • Hamas delegation visited Moscow in 2022

    May 12, 2022

    After meeting with Russian officials, Abu Marzouk said in statements to Al-Mayadeen TV on May 5, “New equations are being imposed today in the global system, and there is an opportunity to change the status quo in the global system for the benefit of the oppressed in the world.”

    He added that the change in the world order would affect the future of Israel.

    “Talks with Russian officials, however, were more focused on developing Russian support for the Palestinians, taking relations between Hamas and Moscow to new, advanced levels, and breaking the Israeli siege imposed on the Gaza Strip since 2007,” he added.

    Head of Hamas in the Gaza Strip Yahya Sinwar announced during a speech in Gaza on April 30 that the maritime line to break the Israeli siege imposed on the Gaza Strip will be inaugurated in the coming period in coordination with the “Jerusalem axis,” in reference to mainly Iran and Hezbollah — an axis that brings together interests and an alliance with Moscow on several international issues, most notably the Syrian conflict.

    Mudallal said that it was not likely for relations between Moscow and Hamas to develop to the extent that Moscow would provide Hamas with weapons and money, adding, “Such support can be done in indirect ways, through Iran and Hezbollah, which have forged an alliance with Moscow in the face of the United States in many international issues, most notably the Syrian issue.”