How to define a function in python

 Defining a function in python is quit easy as c, c++, c#.

Here is the code how to define function in python.

def my_function(fname, lname):
  print(fname + " " + lname)

my_function("webhealer""Refsnes")

Admin

A Software Engineer, Social Media Marketing Expert, writer,

Post a Comment

Previous Post Next Post