The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #43
A single equal mark is used to assign a value to a variable, whereas two consecutive equal marks is used to check whether 2 expressions give the same value . (net-informations.com/python/iq/equal.htm)
What is the difference between = and == ?
— The Python Quiz (@thepythonquiz) April 25, 2021
== is used for variable assignment.
= is used for conditional statements.
Both are wrong.
👇 Comment the answer, like and retweet! #python
Question difficulty: 🔵🔵🔵🔵🔵