More results...

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

Fraction Simplifier

This challenge consists of writing a program that asks the end-user to enter a fraction (numerator and denominator) and output the matching reduced fraction when the fraction can be reduced. To see what this program should do in action you

Area Calculator

For this challenge we are going to use a Python script to calculate the area in square meters of two different flats. To do so we will write a computer program that will add up all the areas of each

3D Challenge

The aim of this challenge is to draw a cube in 3D and to make it rotate on the screen. Drawing 3D shapes on a screen (2D) requires some mathematical formulas to convert 3D (x,y,z) coordinates into 2D coordinates (x,y).

Mastermind Challenge

Have you ever played the board game “Mastermind”? If you are not too sure about the rules of this game, you should first check this page. For this challenge we are going to create this game of mastermind where the

Python: Reading a text file

Learning Objectives In this challenge we are going to focus on accessing a text file in Python to read the content of the file line by line. Challenge Your first challenge consists of writing a Python script that will read

Python Tip: Validating user input as number (Integer)

In most of your Python programs you will want to interact with the end-user by asking questions and retrieving user inputs. To do so you can use the input() function: e.g. username=input("What is your username?") Sometimes you will need to

My mp3 playlist

Learning Objectives In this challenge we are going to focus on accessing a text file in Python to: Read the content of the file line by line, Append data at the end of the file, Write into a new text

Countdown

The aim of this blog post is to create a countdown timer that will display the numbers on screen using a 7-segment display. A lot of electronic devices use this approach to display numbers on a LED or LCD screen.

Morse Code Encoder

The aim of this challenge is to create a Morse code converter that lets the user enter any message. The program should then display the message in Morse code. To complete this challenge you will need to know how Morse

Home Alone – Kevin is not here!

First, let’s watch this short video clip from the movie Home Alone 2. This video clip highlights a typical case of recursion. Recursive Functions A recursive function is a function which calls itself. To make sure that a recursive function