Arguments in Python

Share

Arguments are passed inside parentheses.

def our_second_function(firstname):

print(firstname + “Raj”)

our_second_function(“Mohan”)

our_second_function(“Narasimha”)

our_second_function(“Krishna”)

There can be as many arguments as required, separated by a comma(,).

 

Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *