Can anyone help me with CMU CS Academy ( https://academy.cs.cmu.edu/ ). It's on Unit 4.4 on the one for fishing below is my code. It's only giving me one error and i can't figure out how to fix it. It's saying the bottom of the fishing line is wrong. Any help would be appreciated thanks

app.background = gradient('lightSkyBlue', 'orange', start='top')

# sun and lake
Circle(250, 335, 50, fill='gold')
Rect(0, 300, 400, 100, fill='dodgerBlue')

# boat and fishing rod
Polygon(0, 270, 0, 350, 50, 350, 85, 315, 100, 270, fill='sienna')
Line(0, 240, 140, 160)

# fishing line, fish body, and fish tail
fishingLine = Line(140, 160, 140, 340, lineWidth=1)
fishBody = Oval(340, 340, 50, 30, fill='salmon')
fishTail = Polygon(350, 340, 380, 350, 380, 330, fill='salmon')

def pullUpFish():
fishingLine.x2 = 140
fishingLine.y2 = 225

fishBody.rotateAngle = 90
fishBody.centerX = 140
fishBody.centerY = 250
fishTail.rotateAngle = 90
fishTail.centerX = 140
fishTail.top = 255

def onKeyPress(key):
# Release the fish if the correct key is pressed.
### Place Your Code Here ###
if(key=='r'):
fishBody.centerX =340
fishBody.rotateangle = 0
fishBody.centerY =340
fishTail.rotateAngle = 0
fishTail.centerX = 365
fishTail.top = 330
def onMouseDrag(mouseX, mouseY):
# If fish is very close to boat, pull it up.
### (HINT: Use a helper function.)
### Place Your Code Here ###
if(fishBody.left<140):
pullUpFish()
# If the mouse is behind the fish, only move the line.
### Place Your Code Here ###
elif(mouseX>380):
fishingLine.x2=mouseX
fishingLine.y2=mouseY

# If the mouse is too far from the fish, only move the line.
### (HINT: They are too far when horizontal distance between them is more
# than 80.)
### Place Your Code Here ###
elif(mouseX>260):
fishingLine.x2=mouseX
fishingLine.y2=mouseY
# If the mouse is close enough to the fish and below the water, the line
# should hook the fish.
### (HINT: If the line 'hooks' the fish, both the line and the fish
# should move.)
### Place Your Code Here ###
elif(mouseY>340):
fishingLine.x2=mouseX
fishingLine.y2=mouseY
fishBody.centerX=mouseX+25
fishTail.centerX=mouseX+50
fishBody.centerY=mouseY
fishTail.centerY=mouseY

Can anyone help me with CMU CS Academy httpsacademycscmuedu Its on Unit 44 on the one for fishing below is my code Its only giving me one error and i cant figur class=