Open alexmojaki opened 2 years ago
https://poeditor.com/projects/po_edit?id=490053&term=344292869&id_language=50#showComments344292869
A French user report : "NameError: name 'tous_egaux' is not defined" when used in diagonal check, this is curious Is it possible
all_equal
doesn't use code.bit in this case ?
Same confusion, all_equal
is not magically defined in general.
https://poeditor.com/projects/po_edit?id=490053&term=344292569&id_language=50#showComments344292569
Hmmm, this is a fair point.
all_equal
was written two pages earlier. Users may skip to this page directly, or they may have just forgotten about it. Besides that,assert_equal
gets special treatment and is always defined, so they may expect the same forall_equal
and be surprised by getting an error. I think when this content was written the first time, this might have been less of an issue.I think encouraging reuse of functions and connecting to previous learning is good, but maybe the text should make it clearer what
all_equal
is referring to (e.g. with a link to the page) and make it clear that it's not required to solve the current exercise.