input: def sum_of_squares_of_odds(arr):
      '''
      Given a list of numbers, return the sum of the squares for the
      odd numbers only. Ignore any negative numbers or non-integers in the list.
      
      sum_of_squares_of_odds([1, 3, 2, 0]) == 1 + 9 + 0 + 0 = 10
      sum_of_squares_of_odds([-1, -2, 0]) == 0
      sum_of_squares_of_odds([9, -2]) == 81
      sum_of_squares_of_odds([0]) == 0  
      
      If the input list is empty, the function should return 0.
      '''
output:     result = 0
      for num in arr:
          if isinstance(num, int) and num > 0 and num % 2 != 0:
              result += num ** 2
      return result