func_code: def weird_case(some_str):
      i = 0
      j = 0
      new_str = ''
      while i < len(some_str):
          if some_str[i].isalpha():
              if j % 2 == 0:
                  new_str += some_str[i].upper()
              else:
                  new_str += some_str[i].lower()
              j += 1
          else:
              new_str += some_str[i]
          i += 1
      return new_str