[Tutor] generating coordinates between two pairs
Jojo Mwebaze
jojo.mwebaze at gmail.com
Mon Feb 22 16:57:37 CET 2010
Hello There,
I got two pairs of coordinates say (4,5) and (7,9) from these two pairs i
would like to generate two lists
[4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7]
and
[5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9]
i am actually generating all coordinates that fall within (4,5) and (7,9)
Any help
cheers
Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100222/c443be83/attachment.html>
More information about the Tutor
mailing list