Monthly Archives: November 2012

PHSgeek – Other Programming Exercises

There are some really interesting sets of programming exercises available online.  Many of these get very difficult very quickly if you are new to programming, but they are really good to know about.  It is good to know what kinds … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

Python Exercises – FizzBuzz

FizzBuzz is a classic programming exercise, which is used in many job interviews.  Basically, there are many people who like to call themselves programmers, who can’t actually program their way out of a paper bag.  So to start an interview … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

Python Exercises – Groups of People

This exercise starts very simple, but gets interesting in the extensions.  If you take this far enough, you could build a social network.  This exercise is meant to be done several times, as you learn more about programming.  You will … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

Python Exercises: Digits of Pi

Digits of Pi Download a text file of the first million digits of pi. Read the file, and store the digits in a list. Parse the list, and report the number of times each digit appears in the first million digits. … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

The most interesting graph I’ve ever seen

About a month ago I read a news story that described how the Voyager 1 space probe had just reached the edge of the solar system.  Here is the graph that caught my eye: When I saw this graph and … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

PHSgeek – Getting started with matplotlib

Resources Basic plotting:  http://johnstachurski.net/lectures/basicplot.html

Posted in programming | Tagged , , | Leave a comment

PHSgeek – Python Exercises

There are many sets of python challenges available online, but many of them get out of beginner-friendly territory very quickly.  Here are some challenges that help you get familiar with using lists.  These exercises are phrased for people learning python, … Continue reading

Posted in programming | Tagged , , , , | Leave a comment