The Real Python Podcast cover image

Python Return Statement Best Practices and Working With the map() Function

The Real Python Podcast

00:00

The Advantages of Debugging

Using conditionals, having multiple steps as you're kind of going through, the return statement can be short circuited. And then returning multiple things, which I think I said, but this one actually uses an example of returning multiple named objects and then comes back to the name tubal again. There's a lot of object oriented kind of stuff happening inside there also. It like most of his articles is very, very thorough. You might think to yourself, oh, as I read this first half of it, I know all this. Well, it has to be covered in order to really explain the things that are happening in the second half."

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app