Python decrypt message code

Question:

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

def decrypt_message(message):
decrypted_message = "™ for char in message:
decrypted_char = chr(ord(char) - 1) #
Décalage d'un caractère vers la gauche
decrypted_message += decryptea _char
return decrypted_message
message = "run"
decrypted_message =
decrypt_message(message)
print("Message décrypté :",
decrypted_message)

Hi there @filsokoton57, welcome to the forums! :wave:

Can you please describe your problem further and what you need help with?

3 Likes