I'm currently trying to create a method for having a random chance of an item (represented within a game) such as 20% for one item, or 50% percentage or even 1%. I have tried doing this with the code depicted below: 

```
from random import randint

def Break():
    print(".")

def Treasure():

    Gen = randint(1,100)
    if Gen <= 10:
        print("10%")
        Break()

    Gen = randint(1,100)
    if Gen <= 10:
        print("10%")
        Break()

    Gen = randint(1,100)
    if Gen <= 10:
        print("10%")
        Break()

    Gen = randint(1,100)
    if Gen <= 10:
        print("10%")
        Break()

    Gen = randint(1,100)
    if Gen <= 10:
        print("10%")
        Break()

```

This code method kind of works, the problem is that even if a percentage from here is chosen and Break() is called, there is still the possibility of it having more than one percentage listed 
So if It said 80% then Break()
It could also list 50% then Break() a secound time.

**So my question is, how could I do the following:**

* More efficent code
* Make the percentages only call ONE then Break()
* Sure way of making the percentages what they say, eg 50% half chance.

Testing Code: (Edited)

```
if gen <= 10:
    print("10%")
elif gen <= 20:
    print("20%")
elif gen <= 30:
    print("30%")
elif gen <= 40:
    print("30%")
elif gen <= 50:
    print("50%")
elif gen <= 60:
    print("60%")
elif gen <= 70:
    print("70%")
elif gen <= 80:
    print("80%")
elif gen <= 90:
    print("90%")

```

Should this not make 90% the most likely, and in turn 10% the least?