Python Functions

In python a function is a group of related statements that perform a specific task.functions help break our program into smaller and modular chucks,as our program grows larger,function make it more organized and avoids repetion and make code reusable.


def function name(parameters):


def test(name):
	print("Welcome" + name)

Functions Call

	Welcome Bharat
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!