सभी चर्चाएँ
enpython

Difference between == and = in Python?

4mo·Priya PatelLvl 4

I keep getting confused between = and ==. My code if x = 5: gives an error but if x == 5: works. What's the difference?

0 उत्तर

0 उत्तर

अभी कोई उत्तर नहीं। पहला उत्तर दें!