Scratch Repeat Until Python Equivalent Of Sprintf