func_code: def weird_case(some_str):
      weird = []
      i = 0
      while i < len(some_str):
          if i % 2 == 0:
              weird.append(some_str[i].upper())
          else:
              weird.append(some_str[i])
          i += 1
      return ''.join(weird)