Counting colors

     Hello everyone! This is my final AP for my Coding class for this term, and this actually the second part of it. As I said before, in Unit 6 we went over a lot of different and varied topics, allowing us to explore them in interesting ways. We were then then tasked with creating a piece of code with one of these ideas while also including something from one of the previous units. This is my code, which takes a number you input and will count up until it equals your number. It'll then open a pop up and flash an image of a color until the timer stops.


Try it out here: https://py2.codeskulptor.org/#user50_aSJl6ewAMU_6.py

    One thing I wished I figured out was how to make the images only show up when I wanted them to show up. It was a lot of trial and error to get this far in the code, so I'm very happy as to where I am right now, but I wish I could refine it just a bit more. All in all, this tested what I learned in a more complex and fun way, and I'm glad I was about to take this course again.

Comments

Popular Posts