Oct-08-2019, 01:08 AM
You already have the function written so use it like any other function:
# Function signature is passwordEncrypt(unencryptMessage,key) based on your post cyphered = passwordEncrypt(passwords[0][1], key)Now, the code above does not include the key so I just entered "key" as the argument. Calling print() as an argument in your function call will cause problems. print() is only used to send information to standard out, your console.