def mes(): print( "hello") mes()
a= 5 def he(): b = a*a print(b) def sq(): print('We get' ) he() sq()
def calculate_square(number): result = number ** 2 return result x = calculate_square(4) print(x)
def find_max(a, b): if a > b: return a else: return b result = find_max(8, 5) print(result)
x= 20 def lo(): x=10 print("Local variable is ", x) lo() print("Global Variable is ", x)
y=20 def va(): y=5