0
What's the difference...
What's the difference between == and = ?
5 Respostas
+ 10
= is to declare a variable
== is to test whether a variable, condition e.g. is valid or to compare with the another condition to test whether the values are equal and it will give the output which is True or False.
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2276/
https://code.sololearn.com/c1U0a05Nw79I/?ref=app
+ 8
Yaya Slick you are right thx for correcting me 🤗😁
+ 4
== is a test to see if both values are equal.
= is assigning a variable to a value
+ 1
= it is used to assign value
== it is to confirm that two sets of data are equal in all forms
0
WenHao1223 Thats literally what both of us said. Look before you post :)