Can't get the False leg of this statement to work even though the check function I've defined returns False.
check ("Please enter Yes/No: ")
if False:
print "N"
print "Answer :", noanswers[count]
break
else:
print "Y"
print "Answer :", yesanswers[count]
Aucun commentaire:
Enregistrer un commentaire