func_code: def weird_case(some_str):
      i = 0
      a = some_str
      l = []
      for word in a:
          if i:
              l.append(word[::2].upper())
          else:
              l.append(word)
          i = int(not i)
      return ''.join(l)