hi i'm trying to make a secret lang on python by requesting for input of a message, then searching for certain letters in the message and replacing them with symbols and numbers. i made two lists, but need to know how to replace the letters in the string with the ones in the list. I know about the main stuff, but I've never used replace before. here's my code:
message = input('type your message')
old = ['l', 'o', 's', 'b', 'e', 'g', 'z', 'c', 't', 'a',]
new = ['1', '0', '5', '8', '3', '6', '2', '<', '+', '@',]
new_mess = message.replace(old', new)
print(new_mess)