My python code still runs even though the if statement is false
bool_value=True
if (not bool_value==False):
print("Hello world")
i dont know why it still printing hello world even though i have set bool_value to false by using not keyword .It shouldnt print anything when the condition is false right?
Aucun commentaire:
Enregistrer un commentaire