0

Does anyone know how to solve it?

I wrote a code that combines generators and recursion, the code takes a list of numbers from the user and then finds the factorial of each of the numbers, please help if you know what to do. Thank you in advance! https://code.sololearn.com/cXIn2pvJ6QQq/?ref=app

24th Jun 2020, 8:59 AM
Manthan Gohel
Manthan Gohel - avatar
3 Antworten
24th Jun 2020, 10:59 AM
Gordon
Gordon - avatar
+ 1
I didn't fix it, I'm not so good with generators, but at line 30 I put yield inner(n) That helped to get the first int multiplicated through.
24th Jun 2020, 2:50 PM
loeckchen[INACTIVE]
0
loeckchen Thank you bro.
24th Jun 2020, 3:58 PM
Manthan Gohel
Manthan Gohel - avatar