Monday, November 28, 2011
Blog Post 11/20/2011
This week we learned about loops and if statements. The loops started whith a while statement and were continued with if or elif satements. With this said the hardest problem I had was connected to lab 3C the pingball one. The problem I had was finding an efficient way for the program to run. This problem was solved by just changing all the if statements to elif statements which I found out was way more efficient. We also tried the marshmallow challenged which consisted of 4 who had to worked together to build a structure made out of spaghetti sticks. I really enjoyed doing the challenge.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment