bin/chars-to-phred @ a65fd2691c94 default tip

More
author Steve Losh <steve@stevelosh.com>
date Mon, 03 Nov 2025 14:55:17 -0500
parents 890e2d48b6f7
children (none)
#!/usr/bin/env python3

import sys

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