From 361225cb08145597ac3f0cd6090f9ffe7fb1962b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20M=C3=BCller=20=28ChaoticByte=29?= Date: Sun, 10 Sep 2023 11:37:49 +0200 Subject: [PATCH] Added examples to the README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 5eb5029..fc2de5d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ # notime notime is a simple python library that represents the daytime on a scale of `0` - `100000000` in a most probably mathematically inaccurate way. + +## Examples + +```python +>>> from notime import notime +>>> a = notime(10000) +>>> a +10000 +>>> b = notime.from_time(15, 30, 0, 0) +>>> b +64583333 +>>> a + b +64593333 +```