Note: The Optional and Tuple type hints are provided by the typing module. In the following example, a UBID code is decoded and then re-encoded: #!/usr/bin/env ...