All discussions
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 replies
0 replies
No replies yet. Be the first to reply!