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")
Learn Web Technologies for Free. Learn C#, LINQ, ASP.NET MVC, .NET Core, jQuery, JavaScript, Angular, Node.js, HTTPS, Python, Sass, D3.js, and many more latest technologies using easy tutorials.
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")
No comments:
Post a Comment