Python code is not working

#while loop

sum = 0
n = int(input ("N: "’))
While n>0:
sum =sum + n
n-=1
print(“sum :”,sum)
print (“bye”)

Output show
N=5
Sum = 15
Bye