Python Day 3: Operators and Some Unexpected Behaviours
A developer's Day 3 Python learning log covers arithmetic, comparison, and logical operators. It explains that dividing by zero with either / or // raises a ZeroDivisionError. The post notes that string multiplication repeats text, and that the 'and' operator can return a value other than True or False. It also touches on augmented assignment operators and bitwise operators such as & and |.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in