hi, why doesn't the resultat variable change
n=n_mots(ch)
for i in range(len(ch)):
if ch[i] != " ":
b=ord(ch[i])
if b+n < 90:
resultat=resultat+chr(b+n)
else:
resultat=resultat+chr(b+n-26)
else:
resultat=resultat+" "
resultat=""
crypter(ch,resultat)
print(resultat)```