In this article we will look at how to use Python to determine whether two indices in a list are adjacent. Say you have a list like in the image, where the...
Puzzles are an excellent way to develop your problem solving skills and have fun at the same time. The Tangram Puzzle is a classic puzzle from China which involves rearranging 7 pieces...
Checking whether two strings are anagrams of each other is a fairly common coding challenge or kata. At a local meetup recently, we looked at an extended version of the challenge: not...
Studying algorithms and algorithmic thinking is not only helpful for the the direct application of their concepts and techniques. It is also a way to develop thinking skills per se. A bit...
Here’s a fun Python coding challenge that can be adapted to different levels of ability. Remember the game Duck Duck Goose from school? You sit in a circle and one player walks...
Video courses are an excellent way to develop your Python programming skills. They provide an immersive experience that allows you to make use of multiple learning modalities at the same time. They...
In this article we will look at some practical uses of Python string methods to manipulate text. Much of the the power of the internet depends on the ability to manipulate strings,...
This page contains recommendations for books to help you learn about algorithms and data structures. There is a lot of territory between beginner and advanced level Python programming, and the best way...
A power set is the set of all possible subsets of a set. For example, if we have a set containing [A, B, C] the possible subsets are: [[], ['A'], ['B'], ['A',...
There is no doubt that the best way to learn to program is to practice. However, this is not enough. After all, if you practice typing for many years with just two...