Question: Hi, I require a python code which will draw the Apple logo. There is code provided of a box which is 100 pixel by 100

Hi, I require a python code which will draw the Apple logo. There is code provided of a box which is 100 pixel by 100 pixel, the apple logo must be drawn in this box and must fit the size of the box (meaning it should not go over the sides and should be a perfect fit. It must be done in Python 3.6.1 or Higher. The box image is provided as is the code for it down below. After the logo is drawn the pen should return to the exact starting point of where it began before it drew the box. Any other questions please let me know down below.
from turtle import * #box pencolor('Black') fillcolor('#3B5998') pendown() begin_fill() setheading(90) forward(100) setheading(0)
forward(100) setheading(270) forward(100) setheading(180) forward(100) end_fill() penup()

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
