Dec-01-2016, 11:16 PM
input() returns a string, and your correct variable is a number, so they can't be equal. You have to use convert the user input to a number (possibly using int()).
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net