[SOLVED] Why the last print() function returns a None value? -Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

[SOLVED] Why the last print() function returns a None value? -Python

I was trying to challenge myself with the Collatz Conjecture challenge but I don't understand why when I call the function in the code it returns None instead of the list I have set. Any help? https://code.sololearn.com/cP5I87Wl4ymB/?ref=app

3rd May 2019, 9:25 PM
Giorgio Mannarini
Giorgio Mannarini - avatar
1 Answer
+ 3
Hey @Biraj thanks a lot!
4th May 2019, 7:24 AM
Giorgio Mannarini
Giorgio Mannarini - avatar