Research indexBook chapter
Control Structures
Guo
Routledge eBooks21 Apr 2026
NobleIDark:/48914/w1/20261105/490744EADOI10.4324/9781003656968-3
Book chapter
Control Structures
Guo · Routledge eBooks · 2026 · Subscription
NobleIDark:/48914/w1/20261105/490744EADOI10.4324/9781003656968-3
PaywalledRead at the publisher
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Take control of your code and automate decisions. Chapter 3 introduces the core structures for decision-making in Python. It explains how to use if, elif, and else statements to evaluate financial data, create loops to automate calculations, and apply try-except blocks to manage errors.