[Solved] Why is it saying that the = in bold is an invalid syntax? [duplicate]
Multiple issues here: assignment from input into a variable cannot be checked in while-loop, you should split it into assignment and check. else cannot contain a condition you also had a bug in printing the results – you printed num1 twice The indentations are meaningful in Python – please make sure to post it properly … Read more