Introduction to Programming with Python Dileepa S Rajapaksa





















- Slides: 21
Introduction to Programming with Python න දනන ව ර ගණනක පනර වරතනය Dileepa S. Rajapaksa | http: //www. windowsgeek. lk @dsrajapaksa Microsoft Virtual Academy කරම
Demo කලන Microsoft Virtual Academy Video එක අභය ගයට පළතර
න දනන ව ර ගණනක න වත කර ම While Loops Microsoft Virtual Academy
Demo While loop Microsoft Virtual Academy
ම code එක න කරනන ම කකද කරනන කයල ත රමගනන පළවනද ? import turtle counter = 0 while counter < 4: turtle. forward(100) turtle. right(90) counter = counter+1 • ඔව එමගන Microsoft Virtual Academy සමචතරස රයක ඇඳ නව .
For Loop එක ව නවට while loop එක භ වත කරනන පළවන. import turtle for steps in range(4): turtle. forward(100) turtle. right(90) import turtle counter = 0 while counter < 4: turtle. forward(100) turtle. right(90) counter = counter+1 • ම loop ද ක ම තය නන Microsoft Virtual Academy සම න ප රතඵල
ම loop එක න අඳනව ද ? ර ඛ කයක import turtle counter = 0 while counter <= 4: turtle. forward(100) turtle. right(90) counter = counter+1 • ර ඛ 5ක අඳනව Microsoft Virtual Academy 4ක න ම ය .
ම loop එක න අඳනව ද ? ර ඛ කයක import turtle counter = 1 while counter < 4: turtle. forward(100) turtle. right(90) counter = counter+1 • ර ඛ 3ක අඳනව Microsoft Virtual Academy 4ක න ම ය .
Loop කරම Microsoft Virtual Academy ප රශණ
Demo Infinite Loop එකකන Microsoft Virtual Academy ඉවතව නන ක ස ද ?
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U. S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.