func_code: def weird_case(some_str):
      string = some_str.split()
      i = 0
      new_string = []
      while i < len(string):
          j = 0
          word = string[i]
          while j < len(word):
              if j % 2 == 0:
                  new_string.append(word[j].upper)
              else:
                  new_string.append(word[j])
      return new_string