More results...

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

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

The Gruffalo

This challenge is inspired from Julia Donaldson and Alex Sheffler’s children book: “The Gruffalo”. In this story a little mouse describes a ferocious animal/monster called a “Gruffalo” to scare other dangerous animals (fox, snake, owl) she encounters while taking a

The Twelve Days of Christmas

“The Twelve Days of Christmas” is an English Christmas carol that enumerates in the manner of a cumulative song a series of increasingly grand gifts given on each of the twelve days of Christmas. Let’s look at how we could

Happy New Year!

Learning Objectives In this challenge you will learn how to format text using CSS including how to: Changing font style, Changing font color, Changing font weight, Changing text to italic, Underlining text. We will also investigate the use of borders,

Digicode – CSS Challenge

In this challenge you are going to use CSS to create your own digicode keypad. Learning Objectives By completing this challenge you will familiarise yourself with CSS pseudo-classes. A pseudo-class is used to define a special state of an element.

Scrabble Challenge

This challenge consists of creating a computer program that displays a random selection of 7 letters to the end-user. Each letter is given a value based on the values used in the game of Scrabble. The user is then asked