Beginner Play with Trinket.io
Learning something new is quite often about building a sense of momentum. When we can see tangible results it gives us more of an incentive to continue and persevere past further obstacles. Momentum is especially important in the initial stages. At the beginning we are often prone to a feeling of overwhelm. This overwhelm comes at us from a variety of places. It can come from the imposter syndrome, that sense of I don't belong here, which ironically is a common experience. Overwhelm can also be felt when we look at the road ahead instead of focusing on the steps we can take today. Unfortunately, there are people in every field who will try and make things appear more difficult than they are, in order to feed their own ever expanding ego and sense of self worth, and this can also leave us with a sense of overwhelm.
It was a couple of months ago that I had one of these early momentum experiences with Python. Up until this point I was ignorant to the existence of the Turtle module. Looking back on it I probably didn't have much of an understanding of what a module is. The great thing is that you don't need to fully understand what a module is in order to use one. You just need to see how you can use it and naturally as you stick with the long term goal you will become curious enough to understand the concept at a deeper level. I discovered the Turtle module as part of the Learn Python for Beginners Course.
If you don't feel ready to venture too far into learning to code then there is a great online IDE called trinket. The great thing about trinket is that it leverages the turtle module. You can run or edit some basic code and create drawings with it. You can then share your output just like the one I have shared with you at the bottom of this page. You can use this resource as a complete novice and come away with a feeling of being a programmer.
The code comes as a template with a working graphic. I made some very simple customisations to my graphic. I edited some of the on screen messages, I edited the font size and I increased the speed of the turtle icon with the speed module. In order to increase the speed I simply went on Google and searched for "Increase speed of turtle in Python" and I clicked on this article:
I then searched for the word speed in the article by using cmd + F on the Mac and entering the search word speed. My second result for speed returned:
- “fastest”: 0
- “fast”: 10
- “normal”: 6
- “slow”: 3
- “slowest”: 1
To use the slowest speed you enter
Did you find this blog post useful? I am continuously looking for ways to improve on the content so that my readers have the best experience possible. If you have any insights, questions or recommendations feel free to leave a comment or drop me an e-mail.