Python eval() built-in function
Examples
>>> eval('1 + 4')
# 5
>>> eval('print("Hello World!")')
# Hello World!
>>> x = 10
>>> eval('x == 10')
# True
>>> eval('1 + 4')
# 5
>>> eval('print("Hello World!")')
# Hello World!
>>> x = 10
>>> eval('x == 10')
# True