Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Yesterday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Python Bootcamp 100 Days of Code
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="MihiCherub" data-source="post: 26585955" data-attributes="member: 238676"><p>Day 07 එකේ අලුත් lesson එකක් නෑ. කලින් ඉගෙන ගත්ත ඒව revision කරල ගේම් එකක් හදන්න තිබ්බ නිසා මම Day 08 එකත් ඊයෙම කලා. පෝයයි රට වහලත් නිසා වෙලාවත් තිබ්බ.</p><p></p><p>#Day_08</p><p>Function Parameters & Caesar Cipher (1hr 24min)</p><p></p><p>Alphabet එකක් හදාගන්න පුලුවන් මේ විදියට. ඔක්කොම letters manually add කරන්නෙ නැතුව.</p><p></p><p>[CODE=python]alphabet = list(string.ascii_lowercase)</p><p>alphabet = list(string.ascii_uppercase)</p><p>alphabet = list(string.ascii_letters)[/CODE]</p><p></p><p>[CODE]>>> help(string) # on Python 3</p><p>....</p><p>DATA</p><p> ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'</p><p> ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'</p><p> ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'</p><p> digits = '0123456789'</p><p> hexdigits = '0123456789abcdefABCDEF'</p><p> octdigits = '01234567'</p><p> printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'</p><p> punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'</p><p> whitespace = ' \t\n\r\x0b\x0c'</p><p>[/CODE]</p><p></p><p>#Day_09</p><p>Dictionaries, Nesting and the Secret Auction (1hr 2min)</p><p></p><p><strong>TIP</strong></p><p>While loop එකක් end කරන්න Dr. Angela කරන විදියට නැතුව අපිට Break use කරල end කරන්න පුලුවන්.</p><p>[CODE=python]is_finished = False</p><p>while not is_finished:</p><p> # Do some stuff</p><p> if check_condition:</p><p> is_finished = True[/CODE]</p><p></p><p>Break use කරල</p><p></p><p>[CODE=python]while(True):</p><p> #Do some stuff</p><p> if check_condition:</p><p> break[/CODE]</p><p></p><p>100 milestone එක reach කලා අද. 15% complete.</p><p></p><p><img src="https://i.imgur.com/y6Lz8LK.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="MihiCherub, post: 26585955, member: 238676"] Day 07 එකේ අලුත් lesson එකක් නෑ. කලින් ඉගෙන ගත්ත ඒව revision කරල ගේම් එකක් හදන්න තිබ්බ නිසා මම Day 08 එකත් ඊයෙම කලා. පෝයයි රට වහලත් නිසා වෙලාවත් තිබ්බ. #Day_08 Function Parameters & Caesar Cipher (1hr 24min) Alphabet එකක් හදාගන්න පුලුවන් මේ විදියට. ඔක්කොම letters manually add කරන්නෙ නැතුව. [CODE=python]alphabet = list(string.ascii_lowercase) alphabet = list(string.ascii_uppercase) alphabet = list(string.ascii_letters)[/CODE] [CODE]>>> help(string) # on Python 3 .... DATA ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz' ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' digits = '0123456789' hexdigits = '0123456789abcdefABCDEF' octdigits = '01234567' printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c' punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~' whitespace = ' \t\n\r\x0b\x0c' [/CODE] #Day_09 Dictionaries, Nesting and the Secret Auction (1hr 2min) [B]TIP[/B] While loop එකක් end කරන්න Dr. Angela කරන විදියට නැතුව අපිට Break use කරල end කරන්න පුලුවන්. [CODE=python]is_finished = False while not is_finished: # Do some stuff if check_condition: is_finished = True[/CODE] Break use කරල [CODE=python]while(True): #Do some stuff if check_condition: break[/CODE] 100 milestone එක reach කලා අද. 15% complete. [IMG]https://i.imgur.com/y6Lz8LK.jpg[/IMG] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom