is this a very basic example of a recursive program (python)? if not, why not? thanks to that person that mentioned going to youtube and looking up “recursion marty stepp”
Take print c out of if else block ffs
Poor default case like facebook mentioned. It is a case for stackoverflow.
We stackoverflow now
Im surprised no one’s said something toxic against op yet
I'm actually glad people were cool with this question. When I took my initial Java classes I asked a question on Stack Overflow twice and that was it for me. The people over at dba stack exchange are so much nicer to people learning SQL.
Kudos to you for having the courage to post this. Us software engineers can be very arrogant at times but it's nice to see you got some help!
horrible...
yes, now see what happens if you try justcause(0).
Why is this an infinite loop?
look at your base case (line 2) carefully, what cases does it not handle?