func_code: def weird_case(some_str):
      new_str = ''
      i = True
      for lett in some_str:
          if i:
              new_str += lett.upper()
          else:
              new_str += lett.lower()
          if lett != ' ':
              i = not i
      return new_str