func_code: def weird_case(n):
      line = n.strip('\n').split(' ')
      i = 0
      while i < len(line):
          word = line[i]
          x = 0
          while x < len(word):
              if x % 2 == 0 or x == 0:
                  word[x] = str(word[x].upper())
              x = x + 1
          i = i + 1