LEARN DJANGO IN 24 HOURS FOR BEGINNERS : SIMPLE, CONCISE & EASY GUIDE TO BUILDING WEB APPLICATION USING HTML, CSS, JAVASCRIPT, PYTHON & DJANGO WEB FRAMEWORK by BASU S

LEARN DJANGO IN 24 HOURS FOR BEGINNERS : SIMPLE, CONCISE & EASY GUIDE TO BUILDING WEB APPLICATION USING HTML, CSS, JAVASCRIPT, PYTHON & DJANGO WEB FRAMEWORK by BASU S

Author:BASU, S [BASU, S]
Language: eng
Format: epub
Published: 2021-05-14T16:00:00+00:00


while condition :

……..

Example:

Code explanation:

● In Line 1 , we declared the value of variable x .

● In Line 2 , the while loop is initiated.

Since the value of x is less than 100, then the while loop condition is satisfied and the print statement at Line 3 executes.

● In Line 4 , we increment the value of x by 10 and assign that increment value back to variable x . The while loop starts again with the incremented value and goes on unless and until the value of x becomes equal to or less than 100.

Now let’s run above piece of code.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.