1def my_function(name, age = 20):
2 print(name + " is " + str(age) + " years old"
3
4my_function("Mitro") # Mitro is 20 years old
5my_function("Mitro", 26) #Mitro is 26 years old
1def screen_size(screen_size=80):
2 return screen_aize
3
4screen_size(120) # the screen size is 120
5screen_size() # the screen size is 80 as default