So I managed to kind of solve that problem, but I\'m pretty sure there is a better way to do it. Plus, the second while statement works, but if I enter 6 digits, the first while