input: def can_it_soar(q, w):
      '''
      Write a python function that determines if an object q is capable of flying, returning True if it can and False otherwise.
      The object q can fly if it is balanced (a palindromic list) and the sum of its elements does not exceed the maximum allowed weight w.
  
      Example:
      can_it_soar([1, 2], 5) ➞ False 
      # The sum 1+2 is less than the maximum allowed weight, but the list is unbalanced.
  
      can_it_soar([3, 2, 3], 1) ➞ False
      # The list is balanced, but the sum 3+2+3 exceeds the maximum allowed weight.
  
      can_it_soar([3, 2, 3], 9) ➞ True
      # The sum 3+2+3 is within the maximum allowed weight, and the list is balanced.
  
      can_it_soar([3], 5) ➞ True
      # The sum 3 is within the maximum allowed weight, and the list is balanced.
      '''
output:     
      return q == q[::-1] and sum(q) <= w
  