Code. Models. Analysis. Decisions.

The number guessing game is a somewhat playful introduction to progamming with the Python programming language. The intent here is to give an overview of some of the major topics in programming such as sequence, selection and repetition. This is a working program that will give users the satisfaction of creating something from scratch with Python. The program created is a suitable activity for an instructor led "hour of code" activity.

Python is a general purpose programming language that is one of the most popular languages in use today. It is an interpreted language that focuses on code readability. Being an interpreted language means it facilitates testing small snippets of code quickly and easily. Being easily read means that users can intuit what a program does simply by reading the code.

Python supports multiple programming styles and is robust enough to handle full-scale developments. It is free to download and use and has a huge collection of third party libraries (also available for free) as well as an extensive support community. You can download Python from www.python.org. You will notice that there are two major distributions of Python. In general if you are just starting out it is probably best to install the latest version of Python. The program demonstrated in this video will work in either Python 2 or 3. Enjoy, and please send your feedback and questions.

Download the code.