g 買粉絲deword to the encrypted messag
if letter.upper() in nato_alphabet:
encrypted_message+=nato_alphabet[letter.upper() ] +“n
#I the Letter is not in the dictionary, add the original Letter to the encrypted message
else:
encrypted_message+=letter
return encrypted_message
message="HelloWorld"
encrypted_message=encrypt_message(message)
print("Encrypted message:", encrypted_message)
2024-07-11 05:41
2024-07-11 05:22
2024-07-11 03:52
2024-07-11 03:49
2024-07-11 03:43
2024-07-11 03:32