Submit Search
Upload
02. numbers and maths - note gun.com
•
1 like
•
360 views
NoteGun LMS
Follow
පයිතන් භාෂාව - සරල ගණිත කර්ම NoteGun.com Sri lanka Education LMS Sign up Now
Read less
Read more
Education
Report
Share
Report
Share
1 of 3
Recommended
PHI class I application 2016
PHI class I application 2016
Manjula Lakshakumara
Git exam short note
Git exam short note
NoteGun LMS
Computer networks
Computer networks
Mahesh Kodituwakku
IEEE754 32 Bit
IEEE754 32 Bit
Mahesh Kodituwakku
කාර්යාල ක්රම
කාර්යාල ක්රම
Fahim Fana
ICT Students Presentations
ICT Students Presentations
Mahesh Kodituwakku
ICT Lessons in Sinhala
ICT Lessons in Sinhala
Mahesh Kodituwakku
උසස් පෙළ විෂය ක්ෂේත්රය තෝර ගන්නේ කෙසේද?
උසස් පෙළ විෂය ක්ෂේත්රය තෝර ගන්නේ කෙසේද?
Aurora Computer Studies
Recommended
PHI class I application 2016
PHI class I application 2016
Manjula Lakshakumara
Git exam short note
Git exam short note
NoteGun LMS
Computer networks
Computer networks
Mahesh Kodituwakku
IEEE754 32 Bit
IEEE754 32 Bit
Mahesh Kodituwakku
කාර්යාල ක්රම
කාර්යාල ක්රම
Fahim Fana
ICT Students Presentations
ICT Students Presentations
Mahesh Kodituwakku
ICT Lessons in Sinhala
ICT Lessons in Sinhala
Mahesh Kodituwakku
උසස් පෙළ විෂය ක්ෂේත්රය තෝර ගන්නේ කෙසේද?
උසස් පෙළ විෂය ක්ෂේත්රය තෝර ගන්නේ කෙසේද?
Aurora Computer Studies
Grade 10 ICT Short Notes in Sinhala(2015)
Grade 10 ICT Short Notes in Sinhala(2015)
Mahesh Kodituwakku
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
Aurora Computer Studies
Computing in English Education #ind15
Computing in English Education #ind15
Oliver Quinlan
Innovating Digital Education #ind15
Innovating Digital Education #ind15
Oliver Quinlan
Html
Html
samanbandaraherath
Manava 6
Manava 6
ආචාර්ය සුජිත් නිශාන්ත හේවගේ
Study BIT-UCSC @ Aurora Computer Studies
Study BIT-UCSC @ Aurora Computer Studies
Aurora Computer Studies
Sara Refaeli.docx Resume 2015
Sara Refaeli.docx Resume 2015
Sara Refaeli
Add templates to the joomla
Add templates to the joomla
Mahesh Kodituwakku
Ict 11
Ict 11
NW/Giri/Wennoruwa Maha Vidyalaya
Team building and team work (Sinhala)
Team building and team work (Sinhala)
Krishantha Jayasundara
Data Structure and Algorithms
Data Structure and Algorithms
Mahesh Kodituwakku
How to study - Motivational facts
How to study - Motivational facts
Suresh Wenuka
Joomla හි User Registration ගැන දැන ගනිමු
Joomla හි User Registration ගැන දැන ගනිමු
Mahesh Kodituwakku
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
Aurora Computer Studies
Doing your higher studies the right way
Doing your higher studies the right way
Aurora Computer Studies
ICT in Sinhala
ICT in Sinhala
Mahesh Kodituwakku
ICT
ICT
Mahesh Kodituwakku
GIT Model Paper
GIT Model Paper
Mahesh Kodituwakku
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
Aurora Computer Studies
04. modules and function - note gun.com
04. modules and function - note gun.com
NoteGun LMS
03. variables - note gun.com
03. variables - note gun.com
NoteGun LMS
More Related Content
Viewers also liked
Grade 10 ICT Short Notes in Sinhala(2015)
Grade 10 ICT Short Notes in Sinhala(2015)
Mahesh Kodituwakku
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
Aurora Computer Studies
Computing in English Education #ind15
Computing in English Education #ind15
Oliver Quinlan
Innovating Digital Education #ind15
Innovating Digital Education #ind15
Oliver Quinlan
Html
Html
samanbandaraherath
Manava 6
Manava 6
ආචාර්ය සුජිත් නිශාන්ත හේවගේ
Study BIT-UCSC @ Aurora Computer Studies
Study BIT-UCSC @ Aurora Computer Studies
Aurora Computer Studies
Sara Refaeli.docx Resume 2015
Sara Refaeli.docx Resume 2015
Sara Refaeli
Add templates to the joomla
Add templates to the joomla
Mahesh Kodituwakku
Ict 11
Ict 11
NW/Giri/Wennoruwa Maha Vidyalaya
Team building and team work (Sinhala)
Team building and team work (Sinhala)
Krishantha Jayasundara
Data Structure and Algorithms
Data Structure and Algorithms
Mahesh Kodituwakku
How to study - Motivational facts
How to study - Motivational facts
Suresh Wenuka
Joomla හි User Registration ගැන දැන ගනිමු
Joomla හි User Registration ගැන දැන ගනිමු
Mahesh Kodituwakku
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
Aurora Computer Studies
Doing your higher studies the right way
Doing your higher studies the right way
Aurora Computer Studies
ICT in Sinhala
ICT in Sinhala
Mahesh Kodituwakku
ICT
ICT
Mahesh Kodituwakku
GIT Model Paper
GIT Model Paper
Mahesh Kodituwakku
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
Aurora Computer Studies
Viewers also liked
(20)
Grade 10 ICT Short Notes in Sinhala(2015)
Grade 10 ICT Short Notes in Sinhala(2015)
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
ආර්ථිකව දියුණු රටක් ගොඩනගන්නේ කෙසේද?
Computing in English Education #ind15
Computing in English Education #ind15
Innovating Digital Education #ind15
Innovating Digital Education #ind15
Html
Html
Manava 6
Manava 6
Study BIT-UCSC @ Aurora Computer Studies
Study BIT-UCSC @ Aurora Computer Studies
Sara Refaeli.docx Resume 2015
Sara Refaeli.docx Resume 2015
Add templates to the joomla
Add templates to the joomla
Ict 11
Ict 11
Team building and team work (Sinhala)
Team building and team work (Sinhala)
Data Structure and Algorithms
Data Structure and Algorithms
How to study - Motivational facts
How to study - Motivational facts
Joomla හි User Registration ගැන දැන ගනිමු
Joomla හි User Registration ගැන දැන ගනිමු
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
ඵලදායිව ඉගෙන ගන්නේ කොහොමද?
Doing your higher studies the right way
Doing your higher studies the right way
ICT in Sinhala
ICT in Sinhala
ICT
ICT
GIT Model Paper
GIT Model Paper
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
සැබෑ වෘතිකයෙක් වෙන්නේ කෙසේද?
More from NoteGun LMS
04. modules and function - note gun.com
04. modules and function - note gun.com
NoteGun LMS
03. variables - note gun.com
03. variables - note gun.com
NoteGun LMS
පරිගණකයේ පරිණාමය(Histry of computer)
පරිගණකයේ පරිණාමය(Histry of computer)
NoteGun LMS
චල අන්වීක්ෂය
චල අන්වීක්ෂය
NoteGun LMS
සිසිලන පද්ධතිය 1 කොටස
සිසිලන පද්ධතිය 1 කොටස
NoteGun LMS
මූලික අංකිත පරිපථ සහ උපාංග නිර්මාණය සඳහා තර්ක ද්වාර භාවිතා කිරීම
මූලික අංකිත පරිපථ සහ උපාංග නිර්මාණය සඳහා තර්ක ද්වාර භාවිතා කිරීම
NoteGun LMS
More from NoteGun LMS
(6)
04. modules and function - note gun.com
04. modules and function - note gun.com
03. variables - note gun.com
03. variables - note gun.com
පරිගණකයේ පරිණාමය(Histry of computer)
පරිගණකයේ පරිණාමය(Histry of computer)
චල අන්වීක්ෂය
චල අන්වීක්ෂය
සිසිලන පද්ධතිය 1 කොටස
සිසිලන පද්ධතිය 1 කොටස
මූලික අංකිත පරිපථ සහ උපාංග නිර්මාණය සඳහා තර්ක ද්වාර භාවිතා කිරීම
මූලික අංකිත පරිපථ සහ උපාංග නිර්මාණය සඳහා තර්ක ද්වාර භාවිතා කිරීම
02. numbers and maths - note gun.com
1.
02. Numbers and
Maths (සරල ගණිත කර්ම) මේ පාඩමේ දී මම කතා කරන්න යන්මන් python වල තිමයන සරල ගණිත කර්ම ගැන. Python IDLE එක ඇත්තටම Calculator එක විදිහට පාවිච්චි කරන්න පුළුවන්. 2+2 = 4 6-3 = 3 18/3 = 6 18/7 = 2 හරියටම මෙදුමන් නෑ මන්ද? නිඛිලයකින් නිඛිලයක් මෙදපුවහම python වලින් output එක එන්මන් නිඛිලයකින්ම තමයි. ඒකයි 18 / 7 = 2 එන්න මහේතුව, ඒ හින්දා හරියටම 18 / 7 ගන්න නේ දශම තිතත් මයොදන්න මවනවා. එතමකොට python වලිනුත් මදන්මන් දශමය සමග output එකක්. දශමය තිමයන සංඛ්යාවලට Computer Languages වල සාමානයමයන් කියන්මන් Floats කියලයි. හරි දැන් පිළිතුරට දශමය එන්න හදනවනේ 18 / 7 කියන එමක් මකොමහට හරි දශම තිතත් තියන්න මවනවා. අපි ඒ ගැන ෙලමු. 18.0/7 = 2.5714285714285716 හරි මන්ද උත්තමර් ආවා මන්ද? ඒ වමේම මමමහම කරන්නත් පුලුවන් 18.0/7.0 = 2.5714285714285716 18/7. = 2.5714285714285716 මේමකදි අවශය වන්මන් ගණිතකරයම මකොමහට හරි දශමයක් තිමයන එක විතරයි. මේමකදි තිමයන වැදගත්ම මේ තමයි python වල නිඛිල සංඛ්යා(Integer) මහෝ දශමය තිමයන සංඛ්යා(Float) අතර ගණිතකර්ම කරේදි Integer එක Float වලට පරිවර්තනය මවලා output එක අවසානම දි එන්මන් Float වලින්. මේක python වල තිමයන විමශේෂ ලක්ෂයයක්.
2.
% - Mod
(මමොඩ්) මේ ගණිත කර්මය ඉතාමත් වැදගත් එකක්. python වල මමම ගණිත කර්මය තිමයනවා. මේමකදි කරන මේ මම මපන්නන්නේ. අපි 9 / 4 මෙදමු. මමන්න ඉතුරු එකක් ආවා මන්ද? අපි ඒකට මශේෂය(Reminder) කියලා කියනවා. මමන්න මේ මශේෂය තමයි % - Mod වලින් අපිට Output එක විදියට මදන්මන්. 8 % 4 මේමක මශේෂය 0 මන්ද? ඔව් 0යි. එතමකොට 8.75 % .5 0.25 හරි මන්ද? සාරාංශය ගත්මතොත් % එමකන් අපිට මදන්මන් යේ සංඛ්යාවක් තවත් සංඛ්යාවකින් මෙදපුවහම ඉතිරිවන අගයයි.(මශේෂය)
3.
දැන් අපි ෙලමු
ගුය කිරීම ගැන 6 * 7 42 අපිට 6 ඒවා 3ක් ඕන එමහනේ 6*6*6 216 ඒත් ඊටත් වැඩිය මේසි ක්රමයක් තියනවා. ඒක කරන්මන් මමමහමයි 8**3 = 512 5**12 = 244140625 -5**4 = -625 හරි අපි ඉමගන ගත්ත පයිතන් සරල ගණිත කර්ම කරන හැටි අපි ඊළග පාඩමමන් Python Variables (විචලයයන්) පිළිෙද කතා කරමු. Www.NoteGun.com මමම ලිපිම සේපුර්ය අයිතිය NoteGun හි සතුවන අතර මමහි අඩංගු කිසිවක් උපුටා ගැනීම මහෝ මවනත් මවබ් අඩවි වල පලකිරීම සපුරා තහනේ මව්. කිසිමවකු මහෝ එම ක්රියාමවහි මයදුනමහොත් අන්තර්ජාලම පවතින සීමාවන් යටමත් ඔහුට එමරහිව ක්රියා මාර්ග ගැනීමට අපි වග ෙලාමගන සිටිමු!