7. if, for, while, and When
Note
Project: Print to the console the image URL for each image in the Facebook feed.
This is the chapter you have been waiting for. Up to this point, you have mostly been learning about how to program, but not as much about how to code. You have been learning the skills necessary to create an actual working program, but you haven’t done too much coding. This chapter is all about learning how to code. Specifically, you learn how to control the flow of your program’s execution. Flow control tools allow your program to make decisions about which instructions to execute, how many times the instructions should be executed, and when they should be executed. Learning to code is a fundamental part of learning to program, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access