Basic calculator 1 test case fails always i.e ( 1 2 * 2 3 x the output is only invalid oprtn

f o u n d my mistake

That’s great, but still you can leave the question, as it may be doubt of others and may help them.
Instead you should edit and add what was your mistake.
Please give short and more appropriate title to doubts from next time. :sweat_smile: