0

syntax error in python 2.7

head = Circle(center, 25) head.setFill("yellow") head.draw(win) eye1Center = center.clone() # face positions are relative to the center eye1Center = center.) # face positions are relative to the center ^ SyntaxError: invalid syntax

2nd Nov 2019, 5:32 AM
Jayesh Mishra
Jayesh Mishra - avatar
1 Antwort
+ 2
Could you show us the full code ? We do not see there what is 'center', and if it is defined ? Same for the Circle class ...
2nd Nov 2019, 9:21 AM
Loïc Mahé
Loïc Mahé - avatar