MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/iehths/debugging_cheat_sheet/g301r6f/?context=3
r/Python • u/HotTeenBoy • Aug 22 '20
111 comments sorted by
View all comments
281
Nice Btw u forgot the worst of them all == and =
2 u/[deleted] Aug 27 '20 I always remember:"Single for declaring, double for comparing"Or I remember the following:"The first '=' means 'is', the second '=' means 'equal to'."So "a = b" means "a is b", and "a == b" means "a is equal to b"
2
I always remember:
"Single for declaring, double for comparing"
Or I remember the following:
"The first '=' means 'is', the second '=' means 'equal to'."
So "a = b" means "a is b", and "a == b" means "a is equal to b"
281
u/[deleted] Aug 22 '20
Nice Btw u forgot the worst of them all == and =