bin/chars-to-phred @ 97e37a4c1138 default tip

More
author Steve Losh <steve@stevelosh.com>
date Tue, 13 Oct 2026 10:31:54 -0400
parents 890e2d48b6f7
children (none)
#!/usr/bin/env python3

import sys

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