Friday 22 June 2018

Basic python syntax.

Today at technology we are working with python trinket. We went through the hour of python course and then used the for loop on a number list. The loop made the code continue until it had cycled through all the numbers. It made sure that it multiplied the numbers in the number list by 10.  I sped it up because it went quite slow. As soon as the loop has gone through the number list it moves to the next bit of code. I drew a square, triangle, spiral and an irregular star. Feel free to play around with the code and show me what you did by commenting. Ms Chowfin helped us with it.



No comments:

Post a Comment

Thank you for your positive, thoughtful, helpful comment.