Browse Source

Ord

pull/3/head
Jure Šorn 6 years ago
parent
commit
9ef49f23a0
1 changed files with 5 additions and 0 deletions
  1. 5
      README.md

5
README.md

@ -189,6 +189,11 @@ String
```
### Ord
```python
<str> = chr(<int>) # Converts int to unicode char.
<int> = ord(<str>) # Converts unicode char to int.
```
```python
>>> ord('0'), ord('9')
(48, 57)

Loading…
Cancel
Save