Use recursion to draw the following snowflake shape generated from 6 sub-fractals of splitting lines. The following figures show recursion depths ranging from 0 to 4. Solution: To solve this
In this project, you practice loop and defining custom functions. Draw the following shape with a for loop. Define a function draw_square(x,y,s), which draws a square centered at (x,y) and
24 Game is a mathematical puzzle that make 4 numbers make evaluate to 24 with basic arithmetical operators ( +, -, ×, ÷). For example, given 4 numbers 1,5,5,5, we