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 odpowiedzi
+ 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