Functions
Here I have shown you some basic examples and syntax on how to use functions in python - 1)a=8 b=9 c=sum((a,b)) print(c) 2)def function1(): print("hello") funtion1() Result=hello 3)def function1(a,b): print("sum is",a+b) function1(5,6) Result= sum is 11