AL ICT HELP
Pages
Home
Python
HTML
Database
Networking
Operating System
Other
Q&A
MCQ
Saturday, April 7, 2012
Break Statement
Break Statement
කිසියම් loop එකකින් ඉවත් වීම Break Statement එකෙන් සිදු වෙනවා
පහත උදාහරණය බලන්න
range function එකෙන් 0 සිට 7 දක්වා print කළ යුතුයි. නමුත් i හි අගය 5 ට වඩා වැඩි වූ විට loop එක අවසන් කර තිබෙනවා.
අනෙකුත් පයිතන් පාඩම්
පයිතන් ඉගෙන ගනිමු
විචල්යයන්(Variables)
සංඛ්යා(Numeric Operations)
මොඩියුලො බෙදීම (Modulo Division)
සුළු කිරීමේ ප්රමුඛතාව(Order Of Numeric Operations)
බූලියන් ගණිත කර්ම(Boolean Operations)
if elif else හි යෙදීම්
පරිශීලක ආදාන(User Inputs)
range function
Continue Statement
Break Statement
Python Lists
Python Tuples
Python Dictionaries
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment