comparison to False should be 'if cond is False:' or 'if not cond:
Question:
while line_number < dictionary_elements_number and validation_bool == False:
getting this error when i run it throught pep8 E712 comparison to False should be 'if cond is False:' or 'if not cond:'
isn’t that a bit weird?
Answers:
while line_number < dictionary_elements_number and validation_bool is False:
while line_number < dictionary_elements_number and validation_bool == False:
getting this error when i run it throught pep8 E712 comparison to False should be 'if cond is False:' or 'if not cond:'
isn’t that a bit weird?
while line_number < dictionary_elements_number and validation_bool is False: