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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to