Permalink
Browse files

Update python notes

Python Tips!
  • Loading branch information...
hparra committed Mar 1, 2017
1 parent 2a439f0 commit 1cb7c55174feef23c2d5e6431a7cdfda943fdd6c
Showing with 3 additions and 0 deletions.
  1. +3 −0 python.md
View
@@ -4,6 +4,8 @@ python -- Notes on the Python programming Language
- Python has an excellent [language reference](https://docs.python.org/2.7/reference/index.html).
- Python has a [style guide](https://www.python.org/dev/peps/pep-0008/).
If you're an experienced programmer new to Python then I recommend [Python Tips](http://book.pythontips.com/en/latest/) by Muhammad Yasoob Ullah Khalid.
## Implementations of Fundamental Types
List:
@@ -40,6 +42,7 @@ Note that `range(a,b)` returns an empty array if a and b are equal.
Numbers:
- `int(x[, base])`: constructor that can also be used to change base
- `chr`: character from integer as ASCII code
- `ord`: ASCII code to integer
- `divmod(a,b)`: return `(a // b, a % b)` for integers
- `bin`, `oct` and `hex`
- `abs`

0 comments on commit 1cb7c55

Please sign in to comment.