func_code: def weird_case(some_str):
      stringy = ''
      capital = True
      for letters in some_str:
          if capital:
              stringy = stringy + letters.upper()
          else:
              stringy = stringy + letters
          if letters != ' ':
              capital = not capital
      return stringy