I'm working with python 3, and I would like to convert a string like
'2*2*3*5'
into the integer
2*2*3*5 = 60
I have a dictionary with a lot of strings like that, and I need to use them as integers. Is there a fast way to do this? I have tought of using split but I'm having some trouble doing this.
Thanks for the answers.