title: How to use input string as variable call in python?
body: <p>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. </p>
  
  <p>let's say,</p>
  
  <pre><code>a = 'l'
  b = '5'
  c = 'o'
  
  x = input("Enter your massage: ")
  
  print(x, 'THE_USER INPUT matching the variable name and values')
  </code></pre>
  
  <p>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.</p>
  
  <p>I am using python 3. Thanks :)</p>