input: def does_it_float(q, w):
      '''
      Write a python function that determines if the object q can float. It should return True if q can float and False otherwise.
      The object q can float if it is symmetrical (a palindromic list) and its total weight is less than or equal to the maximum permissible weight w.
  
      Example:
      does_it_float([1, 2], 5) ➞ False 
      # The sum of the elements (1+2) is less than the maximum permissible weight, but the list is not symmetrical.
  
      does_it_float([3, 2, 3], 1) ➞ False
      # The list is symmetrical, but the sum of the elements (3+2+3) exceeds the maximum permissible weight.
  
      does_it_float([3, 2, 3], 9) ➞ True
      # The sum of the elements (3+2+3) is within the permissible weight, and the list is symmetrical.
  
      does_it_float([3], 5) ➞ True
      # The element 3 is within the permissible weight, and the list is symmetrical.
      '''
output:     
      return q == q[::-1] and sum(q) <= w
  