func_code: def weird_case(n):
      a = []
      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:
                  a.append(str(word[x].upper()))
              else:
                  a.append(word[x])
              x = x + 1
          a.append(' ')
          i = i + 1
      print(a)