I am a beginner python learner. I was wondering if it was possible to create a basic massage encrypting system without using any modules. I want my programm to check and use variable name that is in string.
let's say,
a = 'l'
b = '5'
c = 'o'
x = input("Enter your massage: ")
print(x, 'THE_USER INPUT matching the variable name and values')
I know I can do this with while or if, but it would take forever. Also, how do you separate each string letters before you match the variable.
I am using python 3. Thanks :)