Feb-28-2017, 06:09 PM
(Feb-28-2017, 11:54 AM)buran Wrote:(Feb-28-2017, 10:41 AM)wavic Wrote: He is asking how to print two values at once. It is not mandatory to include a string formating.
You are right - it's not manadtory. Actually there are at least 3 more ways to achieve what he asks for - concatenation, old-style %-formatting and str.join method. However, given the OP's inexperience better show him the generaly accepted and recommended, 'proper' way and not teach him bad habbits. :-)
Down with fundamentalism :). The simple version is completely fine for debugging. And to debug his/her code the OP will need plenty of throw-away print statements.
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