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 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.