about summary refs log tree commit diff
path: root/daily/285easy/1dec.py
diff options
context:
space:
mode:
Diffstat (limited to 'daily/285easy/1dec.py')
-rwxr-xr-xdaily/285easy/1dec.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/daily/285easy/1dec.py b/daily/285easy/1dec.py
new file mode 100755
index 0000000..2a05ec4
--- /dev/null
+++ b/daily/285easy/1dec.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python3
+
+from binascii import a2b_uu
+
+with open('1dec.inp') as fi, open('1dec.out', 'w') as fo:
+    for line in fi:
+        fo.write(a2b_uu(bytes(line, 'ascii')).decode())