0
I'm having a problem with my recursive equation generator
Im trying to flip the string above the answer so that it can be more easily read but my attempt at appending to a list fail because I'm working in a recursive loop. I've thought about returning the append but I can't figure out how I would do that without throwing a monkey wrench into the whole program. Any suggestions on how to flip the string? https://code.sololearn.com/cHOO6i6aFRki/#py
3 Antworten
+ 2
I think this is what you are looking for.
https://code.sololearn.com/cVrTglFp52BP
+ 2
Switcing the order of the recursive call and the print made it so the first print was the one instead of ten.
+ 1
Wow, I can't believe that just by returning a value recursion flips the whole string