Jun-17-2019, 06:45 PM
(Jun-17-2019, 03:19 PM)sodmzs Wrote: I would try to explain it again.
Let's say I have 5 words in a string : the climate is super awesome. Now in this statement let's say I just want to iterate "climate", " Super" And "awesome" Keeping "the" & "is" Static and at the same position. Then how would I write the code for this req
This is not 'req', this is 'guessing game'. There is lot of ambiguity in this. Does it mean that there are always 5 word strings and 'static' words are always #2, #4 and #5? If not by which criteria it is determined which words are 'static' and which are not?
From Zen of Python: "In the face of ambiguity, refuse the temptation to guess."
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.