In this chapter, you saw how to change the flow of your program. You learned that the key to changing the flow is the computer's ability to evaluate conditions. You saw how to create simple and compound conditions. You learned about the if, if-else, and if-elif-else structures, which allow programs to make a decision. You met the while structure, useful for repeating code sections. You learned about the importance of program planning. You saw how to plan a program by creating an algorithm in pseudocode. You also learned how to generate random numbers to add some excitement to your programs.