serhii.net

In the middle of the desert you can say anything you want

07 Dec 2021

211207-1822 Three ways to return None in python

I can always replace return None with just return in #python. (Third way is omit a return completely.)

More about this: The Python return Statement: Usage and Best Practices – Real Python

Nel mezzo del deserto posso dire tutto quello che voglio.