0
Hello! I need a help. Python.
Why does an assertion error is occurring in this code? There is no any reasons for it. As i know, the assertion error is occurring, when the statement is false, but it is not in my code. https://code.sololearn.com/cfl2m9jHHeUS/?ref=app
2 Answers
+ 2
l() returns None, it converts to False which makes the assertion error raises.
+ 2
š_M_š the function is not returning boolean it just prints which means unit