I need to write a math expression calculator,:
" What is 2 plus 2?" should return 4. But without the priority of operations,for example " What is 7 plus 2 multiply 3?" should not return 13, but 27. so i tried eval,but it doesn't work here(( btw, i've been learning python for a short period of time, so pls, try to help me with the most simple code,you could ever imagined :D THANKS IN ADVANCE
What I have tried:
Unfortunately,nothing yet,cuz i can’t even imagine a solving for this one