(Nov-29-2016, 07:52 PM)Linamellannamn Wrote: No I haven't! This is our first "task" :( By commands I mean: How do I write a loop and what does a loop mean? I think that you use + when you add, * when you multiply and / when you divide!
A loop is as sequence of instructions which is executed several times. It either executed a fixed number of times:
for i in range(5): print iOr executed while some condition is true
i=0 while i<5: print i i+=1I'm surprised you are told to write this kind of code without being shown the basics...
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