dimanche 10 juin 2018

How can I compare a single number to items in a list of numbers?

X is a single number. Essentially I want to check in the list listaa to know if x is less than or equal to any element in listaa. I have,

if x <= listaa.any():
            continue

Aucun commentaire:

Enregistrer un commentaire