Compucademy Article Guide

its been more than two years since I started the Compucademy blog, and there are now a significant number of articles here, mostly on the topics of Python programming and Computer Science. In order to make it easier for you to find what you are looking for, or to pique your interest in something you didn’t know you were looking for, I’ve created this page which lists the articles on this blog in categories. Some articles appear in more than one category, so there will be some repetition, as my goal here is to be thorough more than concise.

Python Beginners

These articles are suitable for newcomers to Python or those with some basic knowledge but who are still near the start of their learning journey.

  • A Beginner’s guide to Exceptions in Python - An exception is an error that occurs during the execution of a program. This article will discuss how to handle… ...
  • Calculating the Area and Perimeter of Shapes using Python - I've argued for a long time that Computer Science and Mathematics teaching could and should be much more integrated. For… ...
  • Python Off-by-One Errors - Off-by-one errors are a type of logic error in Python programming, which are surprisingly common and can easily trip you… ...
  • Python Adjacent Indices Challenge - In this article we will look at how to use Python to determine whether two indices in a list are… ...
  • Practical Python String Methods - In this article we will look at some practical uses of Python string methods to manipulate text. Much of the… ...
  • Python books for beginners - There is no doubt that the best way to learn to program is to practice. However, this is not enough.… ...
  • Installing Python Packages - One of the things which makes Python awesome is the quality and quantity of open source packages available to extend… ...
  • Python Challenge – 7 Puzzle - Here's a fun little puzzle for you, which lends itself well to a Python coding solution. Find a two-digit positive… ...
  • PYTHON USER INPUT - User input is one of the things which makes Python programming powerful and interesting, as it provides interactivity. This article… ...
  • TRIANGLE NUMBERS WITH PYTHON - This post explores some different ways of generating the famous Triangle Numbers with Python. Before reading on, have a go… ...
  • PYTHON FUNCTIONS - Functions are a very important aspect of Python programming. They provide a way to structure your code meaningfully and also… ...
  • Python Loops - The ability to repeat tasks many times in rapid succession is one of the things which makes computers so useful.… ...
  • Why Learn Python? - Why should you learn Python? There is a lot of talk about Python these days. It has become an extremely… ...
  • Python Debugging - Sometimes when debugging Python code, it is useful to be able to see the values of the variables at each… ...
  • Python Coding Challenge – Modulo Operator - In this Python coding challenge your goal is to implement the modulo operator (%) for yourself, without using division or… ...
  • Drawing Circles with Python Turtle Graphics - In this lesson we are going to learn how to draw circles with Python Turtle Graphics. We will then modify… ...
  • 100 Doors Python Coding Challenge - In this lesson we are going to look at a fun coding challenge in Python called "100 Doors". It's a… ...
  • Fizz Buzz Coding Challenge in Python - Fizz Buzz is a classic coding challenge based on a game played at school in Maths lessons. Fizz Buzz is… ...
  • Python Loops and Flowcharts - In this lesson we are going to learn how to convert between Python code and flowchart representations of loops when… ...
  • Python Simple Dice Game - Here's a simple program in Python that demonstrates some important fundamental concepts in computer programming. The program simulates two players… ...

Python Strings

Strings are one of the fundamental data structures in computing, consisting of sequences of characters. Learn about Python strings with these articles.

Python Lists

Lists are a powerful and versatile data structure in Python which are used in many contexts. It is important to be familiar with Python lists and the operations which can be performed on them.

Python Dictionaries

Dictionaries are an integral part of Python programming which allow you to store key, value pairs with a very fast access time.

Python Algorithms

Algorithms are the foundation of computing. Explore algorithms using the Python programming language in these articles.

Python Turtle Graphics

Kick back and have some fun while getting better at Python programming with the awesome, fun and colourful Turtle Graphics module. You may be surprised just how deep you can go with it.

Python Data Science

Data Science is hugely important in the modern world, and Python is a powerful tool for processing, analysing, displaying data and more. Using industry standard Python libraries such as Pandas, NumPy, Matplotlib and SciPy you can explore the fascinating world of Data Science to your heart’s content.

Computer Maths

Articles covering the overlap between Mathematics and Python programming.