the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

Added Article about Operators In Python #166

Closed ghost closed 4 years ago

ghost commented 4 years ago

This article doesn't include all the operators in Python, but covers the most common operators - arithmetic, comparison and assignment operators as well as operator precedence, explaining the order they are executed in. This article is more geared towards beginners due to only covering common, mostly simple operators, but if you guys think it is a useful article, could be expanded in future to cover other operators such as bitwise operators. However that article may reach several hundred lines and may need to be split up into different articles. Make any edits to improve the explanations or examples you want.

veksen commented 4 years ago

Looks good to me, left some comments. If you remember, for the next PR, if you can create a new branch, and not merge from your own master, it would be better!

Thank you very much!

ghost commented 4 years ago

I messed up one the commit messages (says h2 instead h4). Sorry about the branches, should have thought about it. Apart from that, everything is fixed.

ghost commented 4 years ago

Anything else you need me to change?

veksen commented 4 years ago

No I've been very busy, merging this!