if-statement
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
Article plus récent
Article plus ancien
Accueil
Afficher la version mobile
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire