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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 40 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 40 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply