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, ...
Get Learning to Program 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.