What's wrong with this?what did do wrong?

“Step 85
Next, modify your encryption and decryption variables by calling encrypt and decrypt, respectively, in place of vigenere.”---------------------------

def encrypt(message,key):
return vigenere(message, key)
def decrypt(message,key):
return vigenere(message,key,-1)
encryption = encrypt(message,key)
print(encryption)
decryption = decrypt(message,key)
print(decryption)

Welcome to the forum.

For the next time, you should press the Help button to create a help post on the forum with the right format:
image

Also, you should use the Preformatted Text button to make your code preformatted

encryption = encrypt(message,key)
decryption = decrypt(message,key)

message and key are just argument names we use when declaring encrypt and decrypt functions.

Now, we have to pass the real values for those functions.
In this case:

  • Using the value of the variable text as message

  • Using the value of the variable custom_key as key