Order Grade A+ Academic Papers Instantly!

assignment help 9755

assignment help 9755.

I need help with seeing where i am going wrong in my python programming. I keep receiving a name error and im uncertain how to fix it. 

I attached the homework assignment and the code error i keep receiving. I also entered my code below .

here’s my code

# Illustrate calling a turtle function

#Modified by Tajah Kenner on 11/04/2021

import turtle

# Define functions

def drawMulticolorSquare(t, sz):

   “””Make turtle t draw a multicolor square of with side sz.”””

for i in [‘white’,’lightblue’,’pink’,’black’]:

       t.color(i)

       t.forward(sz)

       t.left(90)

def main():

   “””This is where you set up the window and its attributes,

      define your variables, and create your turtle(s).”””

wn = turtle.Screen()            

wn.bgcolor(“yellow”)

jessica = turtle.Turtle()           # create jessica and set some attributes

jessica.pensize(3)

size = 10                     # size of the smallest square

for i in range(25):

   drawMulticolorSquare(jessica, size)

   size = size +3            # increase the size for next time

   jessica.forward(10)             # move tess along a little

   jessica.left(18)               # and give her some extra turn

wn.exitonclick()

# Call main function – should be last statement in your file

main()

assignment help 9755

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.