text: # A function is a block of code which only runs when it is called. In Python, we do not use parentheses and curly brackets, we use indentation with tabs or spaces
  
  # Create a function
  def sayHello(name):
      print(f'Hello {name}')
  
  # sayHello('Charles')
  
  # Return values
  def getSum(num1, num2):
      total = num1+num2
      return total
  
  # print(getSum(3,7))
  
  
  # A lambda function is a small anonymous function.
  # A lambda function can take any number of arguments, but can only have one expression. Very similar to JS arrow functions
  
  getDiff = lambda num1,num2: num1-num2
  
  print(getDiff(10,5))