Programming

Programming

We've been doing programming since the first week of Computer Science. On Thursday, we worked with Pyhton a bit and we made some really cool designs without much coding or trouble. Here are some of the designs we created and the codes we typed:

This is the first design we made. It's a star with a bunch of little stars hanging on each of the star's points. Here's the code:
The next design is a Sierpinski Triangle. It's a giant triangle with a bunch of little triangles inside it. Here's a pic:
Pretty neat huh? And the best part is that it didn't take that much coding!
And finally, the last design is a snowflake-like figure:
For this design, we had to a little bit more coding, but the design is really cool. Get it!
These are just one example of these designs. They could range in shape, size, color, and just about anything!

Home