Course C Initial 15th – While


Now, I present to you the While command. It’s similar to Do While command in the lesson 14. below, we can see the structure.


Below, see a example about the While loop use and the print of it running. Write it in your compiler.



But if the condition be false, the code inside while will not ran. See the next example and test in your compiler.


Well, it’s the enough to use the While loop. Please make the Challenges 14.1 using the Loop While learned in this lesson.

In the next lesson, we’ll see the Loop FOR.

Well, that’s all folks
See you later!

Comentários

More Famous Posts

Course C Initial 7th – Training with Math

Course C Initial – 3rd Variables Part. 1

Course Python For Life 3 – Input Command