From 410eef961f72af1770adbd0340e51e49d0175edd Mon Sep 17 00:00:00 2001 From: Anirudh Bagri Date: Fri, 29 Oct 2021 20:53:36 +0530 Subject: [PATCH] Create ascii_hbd.py --- examples/ascii_hbd.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/ascii_hbd.py diff --git a/examples/ascii_hbd.py b/examples/ascii_hbd.py new file mode 100644 index 0000000..c902e19 --- /dev/null +++ b/examples/ascii_hbd.py @@ -0,0 +1,5 @@ +# I like say Happy Birthday in ACSII. +text = "Happy Birthday!" +ascii_list = list(bytes(text, 'ascii')) +for ch in ascii_list: + print(ch)