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