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