if choice == "1": message = input("Enter a message to encrypt: ") key = int(input("Enter an encryption key: ")) encrypted_message = encrypt_message(message, key) print(f"Encrypted message: {encrypted_message}") elif choice == "2": message = input("Enter a message to decrypt: ") key = int(input("Enter a decryption key: ")) decrypted_message = decrypt_message(message, key) print(f"Decrypted message: {decrypted_message}") elif choice == "3": break else: print("Invalid option. Please choose again.")
The "Código Enigma" feature will consist of the following components: codigo enigma
User inputs: message = "Khoor, Zruog!" and key = 3 Decrypted message: Hello, World! if choice == "1": message = input("Enter a