Question: Python - modify drawConcentricTriangles() to meet the conditions below # - accept 4 parameters; a turtle object and 3 integers # --- you may assume
Python
- modify drawConcentricTriangles() to meet the conditions below
# - accept 4 parameters; a turtle object and 3 integers
# --- you may assume the ints are in increasing size (a < b < c)
# - add a docstring
# - make the turtle object draw 3 concentric triangles around the origin
# - draw triangle 1 in black (side = a)
# - draw triangle 2 in blue (side = b)
# - draw triangle 3 in red (side = c)
# - return the sum of the 3 integer parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
