From 9ef49f23a0b059348301ef8f6c11f19e4664a09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 8 Dec 2018 08:44:08 +0100 Subject: [PATCH] Ord --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index aac9faf..9281d67 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,11 @@ String ``` ### Ord +```python + = chr() # Converts int to unicode char. + = ord() # Converts unicode char to int. +``` + ```python >>> ord('0'), ord('9') (48, 57)