Apr-12-2017, 08:06 AM
(Apr-11-2017, 12:07 PM)buran Wrote:
in addition one could use dict comprehension to construct the dict
1d
=
{k
+
1
:
10
*
*
k
for
k
in
range
(
5
)}
If you can do that you don't need the dic. In the original code you just use
n=10**integer_length
.
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