Nov-29-2016, 07:55 PM
Do the tutorial in the python documents.
I dont think that this i hard, but I dont understand!
|
Nov-29-2016, 07:55 PM
Do the tutorial in the python documents.
(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
Nov-30-2016, 05:37 AM
(Nov-28-2016, 09:32 PM)Ofnuts Wrote:(Nov-28-2016, 06:33 PM)Linamellannamn Wrote: I understand! I found something similar online, would this be something? This response made me laugh so hard..... and while I couldn't reproduce this kind of code on my own either, I understand the math behind what I'm looking at. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
This is Very Hard! | Harshil | 13 | 6,476 |
Aug-16-2020, 05:09 PM Last Post: DPaul |