More results...

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

Layer Cake using Python Turtle

In this challenge we will use Python Turtle to create and draw a layer cake. The code provided at the bottom of this blog post is using a few computing concepts such as: A list to store the parameters of

Computing Operators – Take the Quiz!

While programming with high-level languages such as Python, you will use four different types of operators as follows: The assignment operator ( = ) which is used to assign a value to a variable or a constant. Arithmetic operators (

Understanding Memory Address Modes

There are many ways to locate data and instructions in primary memory and these methods are called “memory address modes”. Memory address modes determine the method used within the program to access data either from the Cache or the RAM.

Parseltongue Encoder

In the second book of the Harry Potter Series, “The Chamber of Secrets” by J.K. Rowling, Harry Potter finds out that he can communicate with snakes using the Parseltongue language. In this challenge we will write a Python script to

Automatic Petrol Pump Algorithm

In this challenge we will implement an algorithm to be used in an Automatic Petrol Pump to interact with the customer and calculate the total cost of filling up their vehicle. The fuel options and tariffs at this petrol station

ATM Algorithm

An ATM, a.k.a. Cash Withdrawal Machine, uses a computer program to interact with the customer and count the number of banknotes to dispense based on the customer’s requested amount. In the UK, ATM’s tend to only stock £20 banknotes and

Maths Homework Generator

In this challenge we have created a client-side script using HTML, CSS and JavaScript to help a Maths teacher create homework worksheets for their class. Our HTML page uses a web form, for the teacher to select various options based

Prolog – Sorting Hat Challenge

Prolog is a language built around the Logical Paradigm: a declarative approach to problem-solving. There are only three basic constructs in Prolog: facts, rules, and queries. A collection of facts and rules is called a knowledge base (or a database)

Python Syntax

This page summarises the syntax of the Python language. When using Python always remember two key rules: Rule #1: Python is white-space dependent; code blocks are indented using spaces. Rule #2: Python language is case sensitive. It matters for variables,

Othello Game

Othello (a.k.a. Reversi) is a strategy board game for two players, played on an 8×8 board. There are sixty-four identical game pieces called discs which are white on one side and black on the other. Players take turns placing discs