Source code for steenzout.barcode.helpers
# -*- coding: utf-8 -*-
"""Helpers module."""
[docs]def sum_chars(char, other):
"""Sum the value of two string characters.
Args:
char (char): string of the integer.
other (char): string of the integer.
Returns:
(int): sum of the integer value of `x` and integer value of `y`.
"""
return int(char) + int(other)