Page 1 of 1

PLEASE SOLVE THIS IN PYTHON 3: "Your custom random shapes". Based on the previous example, create your own random painti

Posted: Fri Jul 01, 2022 5:39 am
by answerhappygod
PLEASE SOLVE THIS IN PYTHON 3:
"Your custom random shapes". Based on the previous example,create your own random painting. You must include minimum 3different shapes (circle, rectangle, line, etc.) and applyrandomness for colors and shapes.
The output must look similar to this:
Please Solve This In Python 3 Your Custom Random Shapes Based On The Previous Example Create Your Own Random Painti 1
Please Solve This In Python 3 Your Custom Random Shapes Based On The Previous Example Create Your Own Random Painti 1 (122.47 KiB) Viewed 42 times
Previous example talked about in the question: Generating randomdots (shown below)
Please Solve This In Python 3 Your Custom Random Shapes Based On The Previous Example Create Your Own Random Painti 2
Please Solve This In Python 3 Your Custom Random Shapes Based On The Previous Example Create Your Own Random Painti 2 (67.78 KiB) Viewed 42 times
O
import random from graphics import * Graphwin ("Drawing Fun", 200, 200) #random generation of points and colors for num in range (1,100): randomX1 = random.randrange (0, 200) randomy1 = random.randrange (0, 200) win = pt5 = Point (randomX1, randomY1) pt5.draw (win) Drawing Fun X