dimanche 1 mars 2020

How to check if I have numbers in my list [duplicate]

How to check if I have numbers in my list? this is my code:

#n=numbers of list boxs
num=0
for i in range(1,n+1):
    if range(0,999) in list:
        num=num+1
print("number=",num)

Aucun commentaire:

Enregistrer un commentaire