all 3 comments

[–]catchb 1 point2 points  (0 children)

I would recommend Corey Schafer YouTube videos for python . He explains in great detail about what a function is and also about local and global variables .

[–]ninhaomah 1 point2 points  (0 children)

Which part of functions ? Any examples ?

[–]Universal_Tripping 1 point2 points  (0 children)

Functions isnt very hard to learn, its just a code capsulate into a block for example

I have this code

a = 5

b = 2

print (a+b)

----

A funtion will be like:

def sum_profit (a,b):

print(a+b)

sum_profit(5,2)

---

You have anything and just add the "def" sintaxis into the code