I am curious as to why my solutions is not working? I have put in different numbers and it seems like it works? I don’t know…
None is the returned default value, so none of your return keyword is reached for
x=0, which makes sense, when x is zero, the loop won’t run (given the loop condition evaluates to false)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.