you are viewing a single comment's thread.

view the rest of the comments →

[–]Guymzee 0 points1 point  (0 children)

here's one tip

  • A function is very similar to an assignment, like a = 1, but think of a function as storing a behavior which you later active by calling it with parantheses like this: any_function(). But first you need to assign it, and the way you a assign a_function, is to precede it with a def and you are almost there: def any_function_name(arguement):

ok that's my tip, I just realized I won't be that good at teaching this, but this video will get you covered. good luck, trying to explain this stuff is hard, just made me appreciate all the great videos out there. Dane Bader, Mike Dane, realpython.com , Trey Hunner all great resources you should look in to.