More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
Python IDE Dashboard
Author: Administrator

My Logo in Python

Using all the skills we covered in the previous few challenges, we are going to adapt a script to create our own logo using Python Turtle. First let’s look at the following code: Challenge Your challenge consists of tweaking this

Snowflake Challenge

Learning Objectives In this challenge we will use our Python Turtle skills to draw a snowflake. We will use iteration (For Loop) to recreate each branch of the snowflake. Step 1: The first branch First, let’s recap on the main

Leap Year?

Challenge #1: Leap Year? Write a program that lets the end-user enter a year using 4 digits (“yyyy” format). The program should inform the user whether the year entered is a leap year or not. Challenge #2: Valid and Invalid

My Name is Bond, James Bond

Challenge #1: Hello World! Write a program that displays the message “Hello World!” Change your program so that it asks for the end-user to type their firstname. (e.g. “John”) The program should then display “Hello John!” Challenge #2: My Name

What’s My Username?

Learning objectives In this challenge we will use string manipulation techniques to manipulate text data. In Python a String is a piece of text. It can contain letters, numbers and punctuation signs. Hello my name is Bond, James Bond Look

Car Logos using Python Turtle

Looking at the following code can you explain the purpose of each Python Turtle instructions: myPen.color(“red”) myPen.forward(100) myPen.right(90) myPen.left(45) myPen.penup() myPen.pendown() myPen.goto(0,0) myPen.circle(50) (X,Y) Coordinates The canvas we are drawing on (using Python Turtle) is 400 pixels wide by 400

Gradient Generator

Learning Objectives By completing this challenge you will gain a good understanding of how RGB colour codes and hexadecimal colour codes work and you will apply this understanding to produce a complex algorithm. Challenge #1 Complete the code below so

Volume Calculator

Learning Objectives By completing this challenge we are going to learn how to define our own functions in Python. We will also assign parameters to our functions. Look at the code below used to calculate the volume of a cube.

Turtle Spirals

Before comleting this challenge you may want to recap on our previous two challenges: Python Turtle: Sequencing Python Turtle: Iteration In this challenge we are using iteration to repeat a number of instructions over and over. Square Based Spiral #1:

Python Turtle – Iteration

Let’s Recap In our previous challenge, we looked at using sequencing to write a program using Python Turtle to complete a drawing. Remember when using Python Turtle, the most useful instrcutions are as follows: myPen.color(“red”) myPen.forward(100) myPen.right(90) myPen.left(45) myPen.penup() myPen.pendown()

Privacy Overview

This website will store some information about your preferences on your own computer inside a tiny file called a cookie. A cookie is a small piece of data that a website asks your browser to store on your computer or mobile device. The cookie allows the website to remember your actions or preferences over time.

You can delete all cookies that are already on your computer, and you can set most browsers to prevent them from being placed. However, if you do this, you may have to manually adjust some preferences every time you visit a site, and some services and functionalities may not work.

Most browsers support cookies, but you can set your browser to decline them and can delete them whenever you like. You can find instructions here for how you can do that on various browsers.

This website uses cookies to:

  1. Identify you as a returning user and to count your visits in traffic statistics analysis
  2. Remember your custom display preferences (such as light/dark theme option)
  3. Provide other usability features, including tracking whether you have already given your consent to cookies

Enabling cookies is not strictly necessary for the website to work but it will provide you with a better browsing experience.

The cookie-related information is not used to identify you personally and is not used for any purpose other than those described here.

There may also be other types of cookies created after you have visited this website. This site uses Google Analytics, a popular web analytics service that uses cookies to help to analyse how users use the site. The information generated by the cookie about your use of this website (including your IP address) will be transmitted to and stored by Google on servers in the United States. Google will use this information for the purpose of evaluating your use of other website, compiling reports on website activity, and providing other services relating to website activity and internet usage. Google may also transfer this information to third parties where required to do so by law, or where such third parties process the information on Google’s behalf. Google undertakes not to associate your IP address with any other data held by Google.