Saturday, November 5, 2011

Python: Control Flow if, while and for

Introduction
In the programs we have seen till now, there has always been a series of statements and Python faithfully executes them in the same order. What if you wanted to change the flow of how it works? For example, you want the program to take some decisions and do different things depending on different situations such as printing 'Good Morning' or 'Good Evening' depending on the time of the day?

Read more. Lanjutkan!

No comments:

Post a Comment