Dec-10-2018, 10:10 AM
I need to code a program that generates 24 rectangles randomly, but I need for this rectangles not to overlap and leave space between them.
How to generate multiple rectangles with randrange without overlapping?
|
Dec-10-2018, 10:10 AM
I need to code a program that generates 24 rectangles randomly, but I need for this rectangles not to overlap and leave space between them.
Dec-10-2018, 10:12 AM
Welcome to the forum. Although we are glad to help and guide you, we are not going to do your homework. Please show us your code in python tags, post full traceback in error tags if you get any and ask specific question(s).
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Array and rectangles | pythonuser1 | 3 | 3,254 |
Apr-24-2020, 04:52 PM Last Post: deanhystad |
|
printing list of random generated rectangles | Zatoichi | 8 | 8,806 |
Feb-18-2018, 06:34 PM Last Post: buran |