Course C Initial 14th – Do While


As promised in the last class, I present to you the Loop Do While. First, what’s a Loop? A loop is by definition a command that repeat a action inside code considering some situations. Access the Lesson 2 to more information.

Below, see the structure of Do While Command:


In others words, we have ‘do’ or make this code, only in the end, it’ll tested, then can happen that the condition be false, but the code will be ran once. Now, see a example with Do While being ran.


Below, see the code allow being ran.


First the Do While command RUN, after it TEST, remember always! In the next lesson, I will do 5 challenges to you practice.

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