Most of these problems are taken from exercism.io !
The exercises are ordered roughly in order of difficulty, but it's a bit haphazard.
# Install python:
$ sudo apt-get install python
# Go inside your project folder and:
$ python *test.py
http://www.commitstrip.com/fr/2016/02/22/when-the-functional-tests-are-all-red/
Write a program that greets the user by name, or by saying "Hello, World!" if no name is given.
Write a program that will take a year and report if it is a leap year.
Determine if a sentence is a pangram.
Write a program that, given a DNA strand, returns its RNA complement (per RNA transcription).
Write a program that can calculate the Hamming difference between two DNA strands.
Write a program that given a phrase can count the occurrences of each word in that phrase.
Write a program that will calculate the date that someone turned or will celebrate their 1 Gs anniversary.
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
Implement run-length encoding and decoding.
Calculate the date of meetups.
Find the difference between the sum of the squares and the square of the sums of the first N natural numbers.
Write a program that, given a word and a list of possible anagrams, selects the correct sublist.
Write a program that, given a person's allergy score, can tell them whether or not they're allergic to a given item, and their full list of allergies.
Write a program that will take a string of digits and give you all the contiguous substrings of length `n` in that string.
Write a robot simulator.
Write a program that uses the Sieve of Eratosthenes to find all the primes from 2 up to a given number.
Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
Write a program that, given a number, can find the sum of all the multiples of particular numbers up to but not including that number.
Convert a long phrase to its acronym
Write a program that will take a number from 0 to 999,999,999,999 and spell out that number in English.
Write a program that, when given a string of digits, can calculate the largest product for a contiguous substring of digits of length n.
Write a program that, given a diagram, can tell you which plants each child in the kindergarten class is responsible for.
Write a small archiving program that stores students' names along with the grade that they are in.
Write a function to convert from normal numbers to Roman Numerals: e.g.
Write a program that, given an age in seconds, calculates how old someone is in terms of a given planet's solar years.
Write a program that calculates the number of grains of wheat on a chessboard given that the number on each square doubles.
Write a program that can take a number and determine whether or not it is valid per the Luhn formula.
We are going to do the `Transform` step of an Extract-Transform-Load.
Compute the prime factors of a given natural number.
Implement a program that translates from English to Pig Latin
Implement a simple shift cipher like Caesar and a more secure substitution cipher
Write a program that, given a word, computes the scrabble score for that word.
Implement the classic method for composing secret messages called a square code.
Write a function to determine if a list is a sublist of another list.
There exists exactly one Pythagorean triplet for which a Find the product a * b * c.
Write a program that manages robot factory settings.
Write a program that, given a string representing a matrix of numbers, can return the rows and columns of that matrix.
Write a program that can tell you what the nth prime is.
Write a program that detects saddle points in a matrix.
Write a program which produces the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.
Write a program that will take a decimal number, and convert it to the appropriate sequence of events for a secret handshake.
Write a program that outputs the lyrics to 'The Twelve Days of Christmas'
Write a program that will convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles
Write a program that can detect palindrome products in a given range.
Make sure the brackets and braces all match.
Write a program that will convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).
Write a program that adds the numbers to a minesweeper board
Write a program that positions two queens on a chess board and indicates whether or not they are positioned so that they can attack each other.
Write a program that takes a word problem and returns the answer as an integer.
Write a program that cleans up user-entered phone numbers so that they can be sent SMS messages.
Write a program that, given a 3 x 4 grid of pipes, underscores, and spaces, can determine which number is represented, or whether it is garbled.
Write a program that outputs the nursery rhyme 'This is the House that Jack Built'.
Write a program that can tell you if a triangle is equilateral, isosceles, or scalene.
Pick the best hand(s) from a list of poker hands.
Write a program that solves the zebra puzzle.
Count the rectangles in an ASCII diagram.