More results...

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

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()

Python Turtle – Sequence

Looking at the following code can you explain the purpose of each Python Turtle instruction: myPen.color(“red”) myPen.forward(100) myPen.right(90) myPen.left(45) myPen.penup() myPen.pendown() myPen.goto(0,0) myPen.circle(50) X and Y coordinates? Quadrant? Check the above picture. Can you state three facts about X and

Weather Forecast Report

This challenge consists of using Python to generate a random weather forecast report. Learning Objectives: By investigating this challenge you are going to further improve your skills at: Using lists and accessing values of a list randomly, Concatenating strings together

Python Fractals

Fractal? A fractal is a curve or geometrical figure, which is based on a recurring pattern that repeats itself indefinitely at progressively smaller scales. Fractals are useful in modelling some structures (such as snowflakes), and in describing partly random or