lotto number generator
gm
notMyMail at mail.not
Mon Jun 1 12:23:49 EDT 2015
Hi.
I am new to python so am still in learning phase.
I was thinking to make one program that will print out all possible
combinations of 10 pairs. I think this is a good way for something
"bigger" :-).
This is how this looks like:
1.) 1 2
2.) 1 2
3.) 1 2
4.) 1 2
5.) 1 2
6.) 1 2
7.) 1 2
8.) 1 2
9.) 1 2
10.) 1 2
So, i want to print out (in rows) each possible configuration but for
all 10 pairs.
example:
1 1 1 2 2 2 2 1 1 1
2 2 2 1 1 1 1 2 2 2
1 1 2 2 1 1 2 2 1 1
etc.
What would be the best way to make something like this ?
Maybe some tutorial ?
GM
More information about the Python-list
mailing list