From 41e86526a761c7ac01e673dfe5f826adcf22a1e6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 26 Feb 2020 13:28:32 -0800 Subject: [PATCH] Add ampcode.py. --- ampcode.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ampcode.py diff --git a/ampcode.py b/ampcode.py new file mode 100644 index 0000000..2561072 --- /dev/null +++ b/ampcode.py @@ -0,0 +1,7 @@ +import sys + +from voussoirkit import pipeable + +for line in pipeable.go(): + line = ''.join('&#%d;' % ord(c) for c in line) + print(line)