The eval statement is used to evaluate valid Python expressions which are stored in a string. A simple example is shown below.
>>> eval('2*3') 6