0

Can anybody tell me what is this ??

drawFace(center, size,window): head = Circle(center,size*20) head.setFill("green") head.draw(win) mouth = Circle(center, size*13) mouth.setFill("red") mouth.setOutline("red") mouth.draw(win) smile = Circle(center, size*14) smile.move(0,size*4) smile.setFill("green") smile.setOutline("green") smile.draw(win) eyebrow = Circle(center,size*4) eyebrow.move(-size*8,size*10) eyebrow.setFill('black') eyebrow.draw(win) eyebrow2 = eyebrow.clone() eyebrow2.draw(win) eyebrow2.move(size*16, 0) eyecircle = Circle(center,size*4) eyecircle.move(-size*8,size*9) eyecircle.setFill('green') eyecircle.setOutline('green') eyecircle.draw(win) eyecircle2 = eyecircle.clone() eyecircle2.draw(win) eyecircle2.move(size*16, 0) eyelid = Circle(center,size*3) eyelid.move(-size*8,size*8) eyelid.setFill('brown') eyelid.draw(win) eyelid2 = eyelid.clone() eyelid2.draw(win) eyelid2.move(size*16, 0) eye = Circle(center, size*3) eye.move(-size*8,size*

28th Jun 2022, 3:40 PM
Vivek Datta
3 Answers
+ 3
A bunch of errors. Please include the full code (the code including all of those classes) in a playground link
28th Jun 2022, 3:54 PM
Slick
Slick - avatar
+ 2
It definitely seems like some kind of code. Be sure to tag the relevant programming language as well.
28th Jun 2022, 4:00 PM
Justice
Justice - avatar
+ 2
A program to draw a face using the python's graphics library
28th Jun 2022, 6:22 PM
Chris Coder
Chris Coder - avatar