< Learn | Python | Programming
ab-logo

Code School for Kids


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 Python 3.5, but it should be noted that some industries rely heavily on Python 2.7. The program demonstrated in this video will work in either version of Python. Enjoy, and please send your feedback and questions: Send feedback

Download the code.