zero stripping solution in Clear category for End Zeros by joecat
def end_zeros(n): return len(str(n)) - len(str(n).rstrip('0'))
March 10, 2020