I tried to make a calculator in Thonny and it said there was a SyntaxError in the initial if statement: "if b='^':".
Solved! Go to Solution.
You'll want to review the syntax for python comparison operators.
A single equals sign is assignment. To compare, you must use two equal signs. E.g.:
Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!