bin/chars-to-phred @ 48d8f42bf780 default tip

More
author Steve Losh <steve@stevelosh.com>
date Wed, 10 Dec 2025 11:07:06 -0500
parents 890e2d48b6f7
children (none)
#!/usr/bin/env python3

import sys

print([ord(ch) - ord("!") for ch in sys.stdin.read().rstrip('\n')])