PYTHON VARIABLES
පයිතන් විචල්‍ය
#3
By Dinithi – Bsc in MIS(special),Teacher
AL ICT
https://alictdinithi.blogspot.com/
https://youtu.be/DvOsUa3J9zs
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
Variables (විචල්‍ය)
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
Variables (විචල්‍ය)
◦විචල්‍යක් යනු දත්ත(Data) අඩංගු පපට්ටියක්(Box) පල්‍ස
සැල්‍කිය හැකි පේ. එම පපට්ටියට නාමමයක් (Box Name)
ඇත. ඔනාෑම අවස්ථමවක පපට්ටිපේ අඩංගු දත්තය ල්‍බම
ගැනීමට පපට්ටිපේ නාමමය(Box Name) ල්‍බම දීපමන් හැකි
පේ.
◦එනාම් පපට්ටි නාමමය(Box Name) විචල්‍ය නාමමය පල්‍ස
සැල්‍කුව පහමත් විචල්‍යට අදමල්‍ දත්තය ල්‍බම ගැනීම සඳහම
විචල්‍ය නාමමය ල්‍බම දීම සිදු කල්‍ හැකි පේ.
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
1. a = 999
2. b = "python"
3. c = d = e =2000
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
a = 999
විචල්‍ය නාමමය
Variable Name
විචල්‍ය හම
බැඳුණු දත්තය
Data that bind
with the variable
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
◦Python විචල්‍ය ලිවීපම් දී විචල්‍ය සඳහම ල්‍බම
පදනා නාම වම්පසින් ද, දකුණුපසින් විචල්‍ය
සඳහම ඇතුල්‍ත් කරනු ල්‍බනා දත්තය සඳහන්
කිරීම සිදු කරයි.
◦පමහි c,d හම e යනා විචල්‍ය සඳහම එකම අගය
ආපේශ කර ඇත.
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
o විචල්‍ය සඳහම ල්‍බම දුන් අගයන් නාැවත ල්‍බම
ගන්නාම ආකමර.
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
පල්‍මු ආකමරය ,
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
පදවනා ආකමරය,
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
විචල්‍ය නාමය ලිවීම සිදු කරන ආකාරය
(How Write Variable Name)
Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
පරිගණක භමෂමවන් හි දී විචල්‍ය නාමම ලිවීම සඳහම විවිධ නීති පවතී. එම සරල්‍ නීති
අනුගමනාය කරමින් විචල්‍ය නාමම ලිවීම සිදු කල්‍ යුතු පේ. එපස් ලිවීපමන් ලියනා ල්‍ද
වැඩසටහනා නිවැරදිව ක්‍රියමත්මක කිරීමට හැකියමවක් ල්‍ැපේ.Python පක්ත ක්‍රමපේ දී
භමවිතම වනා එම නීති,
1. විචල්‍ය නාමමය ලිවීපම් දී ආරම්භක අකුර පල්‍ස ඉල්‍ක්කමක් පහෝ සංපක්තයක් භමවිතම
කල්‍ පනාමහැකි පේ.
2. විචල්‍ය නාමම ලිවීම සඳහම හිස්තැනාක් සහිතව වචනා පදකක් භමවිතම පනාමකල්‍ යුතු ය. උ.දම
- Hello World
3. විචල්‍ය නාමම ලිවීම සඳහම වචනා පදකක් ඉහත ආකමරයට භමවිතම කරනා විට දී, වචනා
පදක අතර හිස්තැනා පවනුවට ( _ ) භමවිතම කර හැකි පේ. උ.දම -Hello_World
4. විචල්‍ය නාමම ලිවීම සඳහම ඉංග්‍රීසි සිම්පල් අකුරු පහෝ කැපිටල් අකුරු භමවිතම කල්‍ හැකි
පේ. උ.දම - Hello_World , hello_world , hello2Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
ස්ූතියි.
Blog - https://alictdinithi.blogspot.com/ Video
link - https://youtu.be/DvOsUa3J9zs

More Related Content

PDF
03. variables - note gun.com
DOCX
AL Questions - Programing
PDF
ICT Model Paper
PPTX
පැස්කල් ක්‍රමලේඛණය
PDF
ICT Sabaragamuwa third Term Test Grade 11 answe scheme.pdf
PDF
ඇල්ගොරිතම හා පැස්කල් පරිගණක භාෂාව ආශ්‍රිත ගැටලු
PDF
G.C.E O/L Model Papers( for 2019)
PDF
AL ICT 2018
03. variables - note gun.com
AL Questions - Programing
ICT Model Paper
පැස්කල් ක්‍රමලේඛණය
ICT Sabaragamuwa third Term Test Grade 11 answe scheme.pdf
ඇල්ගොරිතම හා පැස්කල් පරිගණක භාෂාව ආශ්‍රිත ගැටලු
G.C.E O/L Model Papers( for 2019)
AL ICT 2018

Similar to Python variables (පයිතන් විචල්‍ය) (20)

PDF
ICT Grade 10
PDF
Python Note Part 1
PDF
Model Queestion Paper for 2017 GCE O/L
PPTX
flow chart for advance level for education.pptx
PDF
ICT G11 Final Term Test 2024 Southern Province SM2
PDF
ICT G11 Final Term Test 2024 Southern Province SM33
PDF
Questions for Lesson 5(AL ICT)
PDF
AL ICT Model Questions and Answers
PDF
HTML,CSS,PHP Questions -AL ICT
PDF
04. modules and function - note gun.com
PDF
AL ICT - Model Paper
PDF
O/L ICT 2018 Model Paper
PDF
Data Structures & Algorithms in Sinhala
PDF
දත්ත සැකසුම සඳහා Spreadsheets යොදා ගන්නා ඔබට වැදගත් ඉඟි
PDF
AL ICT Questions(Lesson 4)
PDF
G.C.E AL ICT Paper-A
PDF
623372883-04-තාර-කික-ද-වාර-Logic-Gates.pdf
DOCX
AL -ICT Networking -Questions
PDF
පයිතන් පරිගණක භාෂාව ආශ්‍රිත ගැටලු
PDF
Grade -9 ICT Lesson Notes
ICT Grade 10
Python Note Part 1
Model Queestion Paper for 2017 GCE O/L
flow chart for advance level for education.pptx
ICT G11 Final Term Test 2024 Southern Province SM2
ICT G11 Final Term Test 2024 Southern Province SM33
Questions for Lesson 5(AL ICT)
AL ICT Model Questions and Answers
HTML,CSS,PHP Questions -AL ICT
04. modules and function - note gun.com
AL ICT - Model Paper
O/L ICT 2018 Model Paper
Data Structures & Algorithms in Sinhala
දත්ත සැකසුම සඳහා Spreadsheets යොදා ගන්නා ඔබට වැදගත් ඉඟි
AL ICT Questions(Lesson 4)
G.C.E AL ICT Paper-A
623372883-04-තාර-කික-ද-වාර-Logic-Gates.pdf
AL -ICT Networking -Questions
පයිතන් පරිගණක භාෂාව ආශ්‍රිත ගැටලු
Grade -9 ICT Lesson Notes
Ad

Python variables (පයිතන් විචල්‍ය)

  • 1. PYTHON VARIABLES පයිතන් විචල්‍ය #3 By Dinithi – Bsc in MIS(special),Teacher AL ICT https://alictdinithi.blogspot.com/ https://youtu.be/DvOsUa3J9zs Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 2. Variables (විචල්‍ය) Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 3. Variables (විචල්‍ය) ◦විචල්‍යක් යනු දත්ත(Data) අඩංගු පපට්ටියක්(Box) පල්‍ස සැල්‍කිය හැකි පේ. එම පපට්ටියට නාමමයක් (Box Name) ඇත. ඔනාෑම අවස්ථමවක පපට්ටිපේ අඩංගු දත්තය ල්‍බම ගැනීමට පපට්ටිපේ නාමමය(Box Name) ල්‍බම දීපමන් හැකි පේ. ◦එනාම් පපට්ටි නාමමය(Box Name) විචල්‍ය නාමමය පල්‍ස සැල්‍කුව පහමත් විචල්‍යට අදමල්‍ දත්තය ල්‍බම ගැනීම සඳහම විචල්‍ය නාමමය ල්‍බම දීම සිදු කල්‍ හැකි පේ. Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 4. 1. a = 999 2. b = "python" 3. c = d = e =2000 Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 5. a = 999 විචල්‍ය නාමමය Variable Name විචල්‍ය හම බැඳුණු දත්තය Data that bind with the variable Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 6. ◦Python විචල්‍ය ලිවීපම් දී විචල්‍ය සඳහම ල්‍බම පදනා නාම වම්පසින් ද, දකුණුපසින් විචල්‍ය සඳහම ඇතුල්‍ත් කරනු ල්‍බනා දත්තය සඳහන් කිරීම සිදු කරයි. ◦පමහි c,d හම e යනා විචල්‍ය සඳහම එකම අගය ආපේශ කර ඇත. Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 7. Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 8. o විචල්‍ය සඳහම ල්‍බම දුන් අගයන් නාැවත ල්‍බම ගන්නාම ආකමර. Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 9. පල්‍මු ආකමරය , Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 10. පදවනා ආකමරය, Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 11. විචල්‍ය නාමය ලිවීම සිදු කරන ආකාරය (How Write Variable Name) Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 12. පරිගණක භමෂමවන් හි දී විචල්‍ය නාමම ලිවීම සඳහම විවිධ නීති පවතී. එම සරල්‍ නීති අනුගමනාය කරමින් විචල්‍ය නාමම ලිවීම සිදු කල්‍ යුතු පේ. එපස් ලිවීපමන් ලියනා ල්‍ද වැඩසටහනා නිවැරදිව ක්‍රියමත්මක කිරීමට හැකියමවක් ල්‍ැපේ.Python පක්ත ක්‍රමපේ දී භමවිතම වනා එම නීති, 1. විචල්‍ය නාමමය ලිවීපම් දී ආරම්භක අකුර පල්‍ස ඉල්‍ක්කමක් පහෝ සංපක්තයක් භමවිතම කල්‍ පනාමහැකි පේ. 2. විචල්‍ය නාමම ලිවීම සඳහම හිස්තැනාක් සහිතව වචනා පදකක් භමවිතම පනාමකල්‍ යුතු ය. උ.දම - Hello World 3. විචල්‍ය නාමම ලිවීම සඳහම වචනා පදකක් ඉහත ආකමරයට භමවිතම කරනා විට දී, වචනා පදක අතර හිස්තැනා පවනුවට ( _ ) භමවිතම කර හැකි පේ. උ.දම -Hello_World 4. විචල්‍ය නාමම ලිවීම සඳහම ඉංග්‍රීසි සිම්පල් අකුරු පහෝ කැපිටල් අකුරු භමවිතම කල්‍ හැකි පේ. උ.දම - Hello_World , hello_world , hello2Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs
  • 13. ස්ූතියි. Blog - https://alictdinithi.blogspot.com/ Video link - https://youtu.be/DvOsUa3J9zs