Yeah like, all the information you’d need for the moving parts of this bad solution come down to just one value, which is the length of the string. That’s the number of place values you need to consider, and also the highest value digit to consider. It sounds kinda like someone whose programming history is a bunch of functional but imperfect Project Euler solutions. I have trouble imagining that anyone who wasn’t based out of python would seriously consider this as a viable alternative to literally anything. It sounds like an astounding use of python’s extreme flexibility with variables and large selection of prewritten features.