This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Piter
Recipients Piter, paul.moore, steve.dower, tim.golden, zach.ware
Date 2022-03-10.14:07:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646921235.45.0.756615135593.issue46974@roundup.psfhosted.org>
In-reply-to
Content
set function for lists on numbers, sometimes sorts elements from smallest to largest, and sometimes not
to find this bug, sometimes you need to display the result several times
example code:
def tupla():
    import random
    ilosc = random.randint(0,49)
    n=0
    lista=[]
    i=0
    while True:
        n = random.randint(1,100)
        lista.append(n)
        i=i+1
        if i==ilosc-1:
            break
    lista = set(lista)
    list(lista)
    print(lista)
History
Date User Action Args
2022-03-10 14:07:15Pitersetrecipients: + Piter, paul.moore, tim.golden, zach.ware, steve.dower
2022-03-10 14:07:15Pitersetmessageid: <1646921235.45.0.756615135593.issue46974@roundup.psfhosted.org>
2022-03-10 14:07:15Piterlinkissue46974 messages
2022-03-10 14:07:15Pitercreate