samedi 3 octobre 2015

Does anyone know to make this a single line statement? (python)

 if min_value <= value <= max_value:
        return True
    else:
        return False 

Aucun commentaire:

Enregistrer un commentaire