Line 14: radius = radius + 25
Error message:
UnboundLocalError: local variable 'radius' referenced before assignment on line 14
I have no idea why this is throwing an error. as far as I'm aware the computer's just being dumb...
I have another question, and I am not waiting two days for an answer.
but a bit of backstory is necessary. I'm using CodeHS to learn Python. I'm on lesson 2.12.5, and this is my code.
`
global sidereal
sidereal=int(input("How large do you like your squares? (1-400)")
def squaretine():
for i in range(4)
pendown()
forward(sidereal)
left(90)
penup()
squaretine()
`
And this is my error:
ParseError: bad input on line 3
I could't even tell you what's wrong, I personally don't see any errors...