Hour 9Programming Algorithms

In this hour, you will learn about programming algorithms that are common across all programming languages. An algorithm is a common procedure or methodology for performing a certain task. In mathematics, an algorithm provides a step-by-step method for solving a problem in a finite number of steps that can require some repetition. To keep things simple, in this hour you’ll see algorithms in Python, but the concepts you’ll learn here are important no matter which programming language you use.

You will learn how to use programs to count data values and accumulate totals. This technique has been touched on in earlier lessons, but this hour will formalize your understanding of the topic. The computer is a perfect tool ...

Get Sams Teach Yourself Beginning Programming in 24 Hours, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.