In this round, I have learned a lot about Python ( a computer programing language ) and my teacher gave me two assignments that needed to be done to test my knowledge and understanding of lessons *To test if I ever focus in class ;)*. Honestly, I got a headache doing those assignments, I kept looking back and forth the ‘information slide’ that my facilitator ( Cindy ) sent to me!.
Actually, she did not only taught me about for loop and while loop but it is my highlight so I only write about them for this post.
The first assignment was about for loop,
in the assignment, I was just doing fine until problem number 4, where I have to find some help. At last, I found my housemates and they helped me out. They told me I forgot about the break statement!!! I did not break the code after it prints out the “know, isn’t a prime number.”. So by this mistake, I learned something I should had thought while doing the exercise.
Another assignment is more advanced to me, it took me a lot-lot more time to finish especially exercise four. I first followed the instruction but then I decided to try out giving clue when guessing and it did not work the way I wanted because of indentation. Then my teacher helped me out and explained to me why my code didn’t work the way I wanted it to be. Now that I really think about the whole experience ( round ). I really need to have someone to help me when I’m struggling and luckily my friends and my teachers are always there!
For my Information,
I have learned about
- Booleans ( True or false a data type, __ is __, ___ is not ___)
- Comparisons ( Yup, I copied from the slide but well…………………… It is for my information 😉 )
- Equals: a == b
- Not Equals: a != b
- Less than: a < b
- Less than or equal to: a <= b
- Greater than: a > b
- Greater than or equal to: a >= b
- If statement
- For loop
- Nested loop ( Loop inside another loop )
- While loop