demo_function_param2.py:
def my_function(country = "Norway"): print("I am from " + country) my_function("Sweden") my_function("India") my_function() my_function("Brazil")
➜ begtut>python demo_function_param2.py
I am from Sweden
I am from India
I am from Norway
I am from Brazil