Friday 30 June 2017

Programming Concepts

In class, we are learning to demonstrate programming concepts. I can use the 'For' loop. I can write code efficiently, I can reflect on my strategy used for the code, I can add 2 lists.

In the maze challenge, the Turtle has to go through the maze, and instead of using three lots of code, we can trim it down to:

for i in range(0,3):

myMaze.forward(40)
  myMaze.pendown()
  myMaze.forward(mazeWidth)
  myMaze.right(90)
  myMaze.forward(100)
  myMaze.right(90) 

1 comment:

  1. Mate', it'd be great for you to sit down and show me some of your progress with this! Like your Kahoot's, would it be helpful for you to have some class time to work on your coding? Come and see me about it :)

    ReplyDelete

Hi! I am looking forward to reading your quality comment! Try and follow these steps when commenting please:

1. Introduce yourself.
2. Give me some positive feedback on my post - but be specific.
3. Think about something I could do to improve my post - but be specific.
4. Leave your blog address so I can give you some feedback too!

Thanks,
Matē