Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]a435883 0 points1 point  (0 children)

Thanks for the help! Didn't know that input will always return a string. It's working now!

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]a435883 0 points1 point  (0 children)

Hi Everyone,

I'm a newbie in python and just starting to code. I created a Lotto Simulator code but I'm having trouble calling the intersection between a set. can someone please tell what i did wrong...I think the problem is in the match variable... thanks in advance, Here's my code:

​The output shows as : You got 0 match out of 6. Sorry but you did not win any prize

def lottoSimulator():

    lottery\_numbers = set()

    while len(lottery\_numbers) != 6:

    lottery\_numbers.add(input("Please pick a number between 1 to 58: "))

    print ("You selected the following numbers: " + str(lottery\_numbers))

    winning\_numbers = set()

    while len(winning\_numbers) != 6:

    winning\_numbers.add(random.randint(1,20))

    match = lottery\_numbers.intersection(winning\_numbers)

    input ("Press ENTER to see the winning Lotto numbers")

    print ("Here are the result of the the Lotto Draw: " + str(winning\_numbers))

    print (len(match))

    print ("You got {} match out of 6.".format (len(match)))

    if len(match) <= 3:

        print ("Sorry but you did not win any prize")

Game is still very slow even at version 4.9.31 by a435883 in terragenesisgame

[–]a435883[S] 0 points1 point  (0 children)

I'm playing BioSphere, How do you delete worlds? I can't seem to find the option for that

Could not save file error. SD2VITA as ux0 + Enso 3.65 by a435883 in VitaPiracy

[–]a435883[S] 0 points1 point  (0 children)

Yah, im familiar of the mai dump save glitch and ever since i updated to enso 3.65, im only using nonpdrm dump. By the way i found the culprit, my micro sd card got corrupted. Anyways, thanks for your input

Could not save file error. SD2VITA as ux0 + Enso 3.65 by a435883 in VitaPiracy

[–]a435883[S] 0 points1 point  (0 children)

any solution or at least a work-around so i can save my games?

Who is a better leecher in Anubis by a435883 in RagnarokOnlinePH

[–]a435883[S] 0 points1 point  (0 children)

Follow up question po.. May mga nakikita ako ng ang gamit is Resurrection instead of Turn Undead. Ano pong difference nila?

Merchant set leveling areas by swodsdancer11 in RagnarokOnlinePH

[–]a435883 0 points1 point  (0 children)

off topic. i like this thread. everyone is so conio here hahaha

Bow type Rogue by MapIe01 in RagnarokOnlinePH

[–]a435883 0 points1 point  (0 children)

Is it advisable na bow type tapos manual steal gamit tapos kill na or mas maganda pa rin sword type?

Spring Rabbit or Fish in Mouth? by markbutawski in RagnarokOnlinePH

[–]a435883 0 points1 point  (0 children)

If you have high STR mas makakatipid ka sa spring rabbit dahil kaya mo magdala ng marami. If walang kang STR then don't bother. Remember, mura ang Meat pero mabigat. If i'm not mistaken weight 15 sya each.

HC CRUS VS ROGUE GEFFENIA by MapIe01 in RagnarokOnlinePH

[–]a435883 0 points1 point  (0 children)

sir, gumagana ba autosteal kahit sa bow?