Python - Operators and Expression Evaluation
Find the error in this code snippet:
counter = 5 counter + = 3 print(counter)
Find the error in this code snippet:
counter = 5 counter + = 3 print(counter)
+= must not have spaces between the plus and equals sign.counter + = 3 has a space, causing a syntax error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions