func_code: def weird_case(some_str):
      i = 0
      j = 0
      while i < len(some_str):
          if 'a' <= some_str[i] <= 'z':
              j += 1
              if j % 2 == 1:
                  print(upper(some_str[i]))
              else:
                  print(some_str[i])
          else:
              print(some_str[i])
          i += 1