What is the difference between = and == in python?
Answers
Explanation:
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
hello
hy
kaise ho bye
ff id - 967314429
diamond doge
Answer:
The == operator compares the value or equality of two objects, whereas thePython is operator checks whether two variables point to the same object in memory. In the vast majority of cases, this means you should use the equality operators == and != , except when you're comparing to None .