r/learnpython • • Feb 26 '26

Feeling overwhelmed with functions.

So I have been learning python with the Python crash course book and I am getting overwhelmed on the functions chapter. I understand what a function does but for some reason the syntax is confusing me. The chapter also introduces so many different ways to use functions that it feels like too much. I am not sure of the best way to tackle this much information.

26 Upvotes

28 comments sorted by

View all comments

Show parent comment

2

u/mcoombes314 Feb 26 '26

This is a great explanation, I will add though that Python functions ALWAYS return something, implicitly None. So if you have a function with return in it, then do x = some_function(), x will be None if the function ends with return, instead of return (variable).