DEV Community

loading...

Discussion on: Writing functions in Python

Collapse
dailydevtips1 profile image
Chris Bongers Author

Fair enough, but at this point I'm learning it, and it's a valid way for me to see what it does, it's how I learn so why can't other people learn like that?

Especially if you haven't crossed the debugging part yet 😅
But valid point that a production app shouldn't have logs, same for console.logs in JS

Collapse
hanpari profile image
Pavel Morava

If you are learning Python, you should try Jupyter notebooks instead.

Or just create ipynb file if you are using VSCode or PyCharm.

Each cell will print the output for you.

Thread Thread
dailydevtips1 profile image
Chris Bongers Author

Oh cool, thanks for this information will look into that!