For this Question: Given a number N for each i (1 < = i < = N), you have to print the number except :-
For each multiple of 3, print "Newton" instead of the number. 
For each multiple of 5, print "School" instead of the number. 
For numbers that are multiples of both 3 and 5, print "NewtonSchool" instead of the number.The first line of the input contains N.

<b>Constraints</b>
1 < = N < = 1000
Print N space separated number or Newton School according to the condition.Sample Input:-
3

Sample Output:-
1 2 Newton

Sample Input:-
5

Sample Output:-
1 2 Newton 4 School, I have written this Solution Code: n=int(input())
for i in range(1,n+1):
    if i%3==0 and i%5==0:
        print("NewtonSchool",end=" ")
    elif i%3==0:
        print("Newton",end=" ")
    elif i%5==0:
        print("School",end=" ")
    else:
        print(i,end=" "), In this Programming Language: Python, Now tell me if this Code is compilable or not?