Ray is a 13 year old student who recently started learning python at Tinker Education.
This marks his first time with Tinker Education.
HOW THE PROJECT WORKS
The project includes four differently colored turtles racing. They are provided with a ground which has a starting point for the race and a finish line. The turtles are then made to move at random distances leaving a trail to appear as if racing. The first turtle to touch the finish line becomes the winner.
WHAT CODE FUNCTIONALITIES WERE USED AND HOW?
Python turtle graphics – This is an inbuilt module in python that provides a virtual canvas and all commands used to draw.
Random module – this one was used to pick random distances to move the turtles as they raced.
For loop – This was used while drawing the finish line.
This is the first time he is doing text based coding. However, he’s very excited about it and happy about whatever he has accomplished so far.He is quick to understand different new concepts and always trying to do something creative with them on his own!
Leave A Comment