https://cerwinvegassalee.blogspot.com/2023/06/coerce-equivalent-in-python-3.html
Coerce() Equivalent In Python 3