Can someone tell me what I have stumbled upon? Like just a general explanation on what I’ve just watched,(reply>), In Python, a programing language, there were two very similar operators.<br>"=" which could assign a value to a variable;<br>and "==" which could tell you if a variable was equal to another variable or value, by returning "true" if they're equal or "false" if they're not.<br>Although very simmilar in syntax, their functionalities were very different, meaning that if one were to mistype, and use one in place of the other, the compiler would throw you an error, showing you that you, the programmer, screwed up, you could then easily correct your mistake.<br><br>BUT In other programming languages like C the "=" operator would not only assign a value to a variable but also return the value assigned, this way, you could write code like this:<br>"If (variable = true){<br>//DO THINGS//<br>}" <br>in this case you would assign "true" to a variable, but also return "true" to the "IF" statement, that would execute its functions //DO THINGS// if whatever is inside the parenthesis returned "true";<br><br>You couldn't do such thing in python, since "=" would not return "true" in python, and as such, not making any fking sense. So, they added the ":=" operator, that would function like the "=" in C, returning the value assigned to whatever the programmer intended. The problem is that this leaves python with THREE operators that represent "equality" ("==", "=" and ":=") AKA very confusing for begginers. <br>Some people believe they should've just used the "=" operator like in C but that can be prone to errors. If you were to mistype<br> "IF(variable == true)"<br> for <br>"IF (variable = true)"<br>The compiler would accept it as a valid line of code, while previously it wouldn't.<br><br><br><br><br><br><br>Or something like this.