Default Parameter Value

If we call a function without argument, it calls default value.

def our_function(state = “Karnataka”):
print(“I am from “ + state)

our_function(“Maharashtra”)
our_function(“Kerala”)
our_function()
our_function(“Telangana”)

Keyword Arguments

Key, value pair arguments can be given to functions in python.

The order can be arbitrary.

def my_subjects(subject3, subject2, subject1):
print(“The first subject is “ + subject1)

my_subjects(subject1 = “English”, subject2 = “Kannada”, subject3 = “Hindi”)

Arguments in Python

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(,).

 

US Consulate in Bengaluru

According to White House sources US will soon open Consulate Offices in Bengaluru and Ahmedabad.

This development will help Visa seekers within Karnataka and nearby states to get their Visa’s approved in Bengaluru.