project # return headstr def getbodystr(self)"""returns the string of the duckling' body ""bodystr '(get the left side of the body if self direction =leftget the interior body spaceif self body =chubbybodystr +elif self body =very_chubbybodystr +get the wingif self wing =outbodystr +'>elif self wing =upbodystr +'^elif self wing =downbodystr +'vif self direction =rightget the wingif self wing =outbodystr +'<elif self wing =upbodystr +'^elif self wing =downbodystr +'vget the interior body spaceif self body =chubbybodystr +elif self body =very_chubbybodystr +bodystr +')get the right side of the body if self body =chubbyget an extra space so chubby ducklings are the same width as very chubby ducklings bodystr +return bodystr def getfeetstr(self)"""returns the string of the duckling' feet ""if self body =chubbyreturn ^elif self body =very_chubbyreturn def getnextbodypart(self)"""calls the appropriate display method for the next body part that needs to be displayed sets parttodisplaynext to none when finished ""