1def fan_speed(speed = 1 )-> str:
2 if speed > 5:
3 return "fan can't go with more speed "
4 return "The speed of fan is " + str(speed)
5print(fan_speed(6))
6print(fan_speed(4))
7print(fan_speed())#if you don't provide the speed of fan the fan will come
8#to its defalt value 1 and the speed of fan will become 1
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