Category: geometry
Teaching Kids Programming: Videos on Data Structures and Algorithms Simple function can draw amazing shapes using Turtle Graphics library and here is a python function to draw a spiral …
Teaching Kids Programming: Videos on Data Structures and Algorithms To draw a black-and-white chess board, we need the following three functions: draw a white square, draw a black (filled) …
Teaching Kids Programming: Videos on Data Structures and Algorithms What we have learned today: The sum of total interior angles of a N-sided polygon (where N is larger or …
You are given an array rectangles where rectangles = represents the ith rectangle of length li and width wi. You can cut the ith rectangle to form a square …
You are given an array coordinates, coordinates = , where represents the coordinate of a point. Check if these points make a straight line in the XY plane. Input: …