For our final python class, we had and evaluation! I did not think I was ready for this at all. I was still having trouble with remembering steps while creating my code. Our first problem was to create a code which asked for your name, age, and then give the year when the person will be 100 years old. This was fairly simple. The only difficult part was determining the formula for finding what year the person would be 100, but after brainstorming solutions, I figured out the code! Our second problem was dealing with functions we learned in our lessons. The problem was to create a code that asks for a number, answers whether the number is even or odd, the square root of the number, and what numbers it is divisible by. This question was more challenging but I was able to get it done. I knew all of the code except the last part, so my classmate and I brainstormed together for the last part of the code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2017
Categories |