Mohammed Viqar Ahmedviqar.hashnode.dev·Sep 23, 2024Turtle GraphicsIn Python, turtle graphics provides a representation of a physical “turtle” (a little robot with a pen) that draws on a sheet of paper on the floor. It’s an effective and well-proven way for learners to encounter programming concepts and interaction ...turtle grapics
Sritama Dharadharasritama.hashnode.dev·Jun 17, 2024Python's Turtle: A Place where Creativity meets CodeWhat is Turtle? Do you remember MS LOGO from your childhood? Turtle is almost the same! Turtle is a pre-installed Python library that enables users to create a variety of shapes and patterns, just through the use of simple commands. Imagine Turtle as...40 likes·123 readsPython
Miodrag Golubovićbulog.hashnode.dev·Nov 26, 2023Python Cool Tricks - How to beat color names in PythonYou have a list of colors L (for example 630 colors), but you need to display something with even more colors (for example 1700). When you have used all the colors from the list L, then you will start again from the beginning and so on until you reac...Python
Miodrag Golubovićbulog.hashnode.dev·Nov 25, 2023Python Cool Tricks - How to use logical and arithmetic operators together1. Connection between logical (boolean) and arithmetic operators When boolean values (or boolean expressions within parentheses) are used in an arithmetic expression, Python converts them to integers, and the False value to 0 and the True value to...Python
Ogunniyi Oluwasegun Adebayooluwasegun02.hashnode.dev·Oct 3, 2023Building the Turtle Crossing Game with PythonIntroduction The Turtle Crossing game is an engaging Python project that brings together the power of the Turtle graphics library to create a simple yet addictive game. In this game, players control a turtle that must navigate its way through a busy ...32 readsPython 3
KELVIN CHI-JEKWU UGWUbackenders.hashnode.dev·Jun 26, 2023Drawing the Hirst spot painting with pythonYou might have heard of the famous Damien Hirst spot paintings that sold for a huge amount of money, what if you could make them using Python on your local machine. Requirements You need to have Python installed in your machine, an IDE(Integrated D...49 readsPython
swekageswekage.hashnode.dev·May 27, 2023Python Turtle CheatsheetTable of Contents Basics Import turtle and set up turtle object Move turtle Turn turtle goto and home Pen up and down Drawing Shapes Draw a Square Draw a Rectangle Draw a Circle Draw a Dot Draw a Star Color Changing the Screen Color...1 likePython
Amul Gauravamulgaurav.hashnode.dev·Apr 3, 2023Build a Snake Game using Python and Turtle moduleIntroduction Are you interested in testing out your python knowledge with Object-Oriented Programming with a twist of game development? If yes, then you are in the right place. In this tutorial, we are going to create a classic snake game using Objec...10 likes·35 readsPython
Sarah Sotomayorsarahsotomayor.hashnode.dev·Mar 27, 2023Python Retro Pong GameAfter a lot of full stack projects in Java and still a bit mentally exhausted from exam week, I wanted to take a break from Java but still code a bit. My personal projects are all planned out in Python and I paused them all during Java exam week. In ...95 readsPython
Yukti Mahoviyayuktimahoviya.hashnode.dev·Mar 11, 2023Learn the basics of python turtle graphics!Learning about python using the turtle library is a great start towards game building and implementing logic and ideas over the screen. This article is focusing on the basics of turtle use and you will learn how to interact with this feature of pytho...5 likesPython