Chapter 4

Introducing Python for Algorithm Programming

IN THIS CHAPTER

check Performing numeric and logic-based tasks

check Working with strings

check Performing tasks with dates

check Packaging code by using functions

check Making decisions and repeating steps

check Managing data in memory

check Reading data in storage objects

check Finding data faster by using dictionaries

A recipe is a kind of algorithm because it helps you cook tasty food by using a series of steps (and thereby get rid of your hunger). You can devise many ways to create a sequence of steps that solve a problem. Procedures of every variety and description abound, all of which describe a sequence of steps used to solve a problem. Not every sequence of steps is concrete. ...

Get Algorithms For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.