sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15243
Re: [Question #217327]: how to create x lists from a given list, each new list created by removing an element
Question #217327 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/217327
Status: Needs information => Open
Pablo Frank gave more information on the question:
>>>could you just write down an example step by step (no code!), what
you want to achieve?
1.There is a string containing the first letter of several colors: wyorgb
2.I choose randomly one letter,let's say 'o'.
3.A string shorter by one letter ('o') remains: wyrgb
4.I choose randomly one letter,let's say'w'.
5.A string shorter by one letter ('w') remains: yrgb
The process continues until the string has only one letter, and i get five strings:
wyrgb
yrgb
rgb
rg
g
About your 2 questions:
- what does a line contain?
- what do you expect alist to contain?
if i understand right, they are answered in the 1. to 5. sentences above.
Thanks for your huge patience.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.