you can just do ' input("Re-enter the current EFTPOS access code", "Confirm EFTPOS code") as num ' here.