title: How can I convert string to source code in python?
body: <p>As you see, ifinner is a string, so if I just write after if, always will be true. What can i do, to concert it to source code? </p>
  
  <pre><code>    x=2
      ifinner = "x==3"
      if ifinner:
          print("Yeah")
      else:
          print("It works!")
  </code></pre>