Python Dictionary

Multimedia –  What is dictionary? When you search on google about dictionary generally, it says

a book or electronic resource that lists the words of a language (typically in alphabetical order) and gives their meaning, or gives the equivalent words in a different language, often also providing information about pronunciation, origin, and usage.”

 

It is the same or connect in some way hence it is called ‘python dictionaries’ it only matters on how you look at it.

 

Just like in the definition Python dictionaries are just like lists but not so much. Python are used in curly bracket, they are unordered and changeable, and, there is no duplicate items allows.

 

For examples :

thisdictionary = {

 “Occupation”: “Doctor”,

 “Age”: “18”,

 “Year of birth”: 2001

}

Live to suffer

Life is towering

Scraping the sky.

When it reached its climax,

It blossoms and withers.

 

Life is a line

An art that continues with no eraser

Destiny is in your hand;

But the past leaves scars and marks.

 

Life is droplets of water

Weak and pure, but

Animated dribble can

Cut through rocks.

 

Life is a maze.

Terrifying blood crave wolf and

Greedy gold swallowing boar,

Are your neighbors.

 

Imploring In Anguish

With no mercy and empathy,

The labyrinth keeps the bird.

Chirping and tweeting,

Hoping to end this torment & upset.

Sorrow & grief within her delicate voice,

“May the bird set free”.

Inspired by the song “Bird set free” by Sia. 

Within Her Grief

 

Droplets of acid within tears.

Venomous viper are

Ready to strike in the dark and silent.

While expressing her language;

Jealous, envy, hate, of

Danger and hostility within her grief.

Inspire by Voltaire, “Tears are silent language of grief”. Golden Shovel form. 

នាម

នាម នាម គឺជាពាក្យសម្ដែងឲ្យមនុស្ស សត្វ រុក្ខជាតិ ទីកន្លែង និងស្ថានភាពបែបណាមួយ។

នាម មានប្រាំបីប្រភេទគឺ:

  • សាធារណនាម 
  • អសាធារណនាម
  • នាមករណ៍
  • នាមការណ៍
  • នាមរូបី
  • នាមអរូបី
  • នាមជីវចល
  • នាមអជីវចល

សាធារណនាម គឺជានាមសម្ដែងមិនចំពោះ ទូទៅ

ឧទាហរណ៍: សិស្សានុសិស្ស រត់លេងក្នុងសួន។

ពាក្យ « សិស្សានុសិស្ស សួន» ជា សាធារណនាម

 

អសាធារណនាម ជានាមសម្ដែងឈ្មោះប្រាកដ ចំពោះ មិនទូទៅ

ឧទាហរណ៍: ណាវី បានជូននំចំណីទៅដល់តាសុខ ។

«​ ណាវី តាសុខ » ជាអសាធារណនាម

 

នាមការក៍​ ជាពាក្យសម្ដែងអ្នកធ្វើអំពើ ឬអ្នកមានសភាពលក្ខណ:បែបណាមួយ ។

ឧទាហរណ៍:

  • អ្នកហែល
  • អ្នកស្រែ
  • អ្នកស្ទូង

នាមករណ៍ គឺជានាមសម្ដែងសភាព ឬសកម្មភាព។

ឧទាហរណ៍:

 

កិរិយា ករណនាម
ហាត់ លំហាត់
នៅ លំនៅ
កើត កំណើត
សង់ សំណង់

 

កិរិយា ករណនាម
ចាយ ចំណាយ
ដាំ ដំណាំ
ចង់ ចំណង់
សួរ សំណួរ

 

នាមរូបី គឺជានាមសម្រាប់សម្គាល់ឈ្មោះ មនុស្ស សត្វ វត្ថុ ទីកន្លែង ដែលយើងអាចដឹង

បាន ដោយចក្ខុវិញ្ញាណ និងកាយវិញ្ញាណ

ឧទាហរណ៍:  កៅអី សាលារៀន កាបូប ជញ្ជាំង

 

នាមអរូបី គឺជានាមសម្គាល់ឈ្មោះអ្វី ដែលគ្មានរូបរាងច្បាស់លាស់ ហើយមនុស្សមិនអាចប៉ះ

ពាល់ឬមើលឃើញមានទាំងនេះ តាមរយៈកាយវិញ្ញាណ ​ឬចក្ខុវិញ្ញាណបានឡើយ។

ឧទាហរណ៍: ភាពស្មោះត្រង់ ការយោគយល់ ស្នេហា ។

 

នាមជីវចល គឺជានាមសម្រាប់សម្គាល់ឈ្មោះមួយដែលមានជីវិតពីធម្មជាតិដូចជានាមសម្រាប់

សម្គាល់ឈ្មោះមនុស្ស សត្វ និងរុក្ខជាតិ។

ឧទាហរណ៍: បុប្ផា ហារី សីហា ដើមស្វាយ

 

នាមអជីវចល គឺជានាមសម្រាប់សម្គាល់ឈ្មោះអ្វីមួយដែលគ្មានជីវិតគ្មានវិញ្ញាណដូចជានាម

សម្គាល់ឈ្មោះ វត្ថុ ទីកន្លែង ស្ថានភាព សកម្មភាព និងគំនិតអ្វីមួយ។

ឧទាហរណ៍: តុ​ កៅអី ក្ដាខៀន ក្តៅ កម្តៅ ត្រជាក់

I Am From – Round 3

I am from boat and net

from stinky prahok and fishy p’ork

I am from the beautiful black wood wall

wind waving through, smells like champa of the ancient angkor

I am from the green young banana tree ,

The gigantic bayan  

whose long messy hair I remember

as if they were from horror movies.

I’m from old smoking pipe and hundred year mysterious book

from my grandfather broken abacus and my grandma black wooden walking stick

I’m from education and religion and

from Chinese-Cambodian whose skin can blend with the night

I’m from righteous and respect  and “Tok tok pen’g bom ponk”

I’m from Buddhism and taoism

I’m from the port of the Chams and minced pork with p’ork

From my grandma lies to the “Samak Met”,

the blacket she gave me when she left  The hole that was drilled when I was young, the black-white film, the photos that covered in dusk and her smile in my head.

Python

Multimedia- Python is a programming language that is commonly used for developing desktop and web applications. Moreover, Python is designed with the feature to assist with the process of data analysis and visualization. Python is found to use for web programmings like Django, Zope, Google App Engine, and much more. In the same way, they are also used in desktop application such as Blender 3D and even for pygames.

During Multimedia/Technology class is in process of learning rules and the basic form of Python such as :

If statement-

a = 33

b = 200

if b > a:

 print(“b is greater than a”)

 

Elif statement-

a = 33

b = 33

if b > a:

 print(“b is greater than a”)

elif a == b:

 print(“a and b are equal”)

 

Else statement-

a = 200

b = 33

if b > a:

 print(“b is greater than a”)

else:

 print(“a is greater than b”)

 

For loop-

foods = [‘chicken’, ‘pizza’,  ‘soup’]
for food in foods:       
  print Current foods :, food

 

Break statement-

foods = [‘chicken’, ‘pizza’,  ‘soup’]
for food in foods:       
  if x == pizza:

   break

 

Continue statement-

foods = [‘chicken’, ‘pizza’,  ‘soup’]
for food in foods:       
  if x == pizza:

   continue

 print(x)

 

Range Function-

for i in range(100):

 print(i)

 

Want to see the result?

Try it yourself!

Plastic should be banned

Credit: Oceana

Plastic is what led to modern life and it is growing rapidly that could even outnumber humans on earth. Although plastic is useful, cheap, and accessible, we should not use plastic because it has harmful effects on the air, land, and sea humans depend on.

 

First, if plastic is burned they can cause air pollution which increases greenhouse gasses. Plastic is composed of carbon, hydrogen, oxygen, nitrogen, chlorine, and sulfur which are greenhouse gases that are burn from plastic. Green House gases are what keep our planet warm otherwise Earth would be like Mars. Although greenhouse gases are to balance our temperature, if there is too much it would destroy ozone that helps stabilized temperature and would greatly harm our atmosphere. According to National Geography, “Temperature has increased dramatically over time and ozone has deteriorating. The widespread concern about ozone deterioration that allows a large amount of Ultraviolet B rays which cause skin cancers, more importantly, Earth have two poles that are made from ice.  If temperature increase thus would melt which result in flood”. An estimate in India who face the most tragic flood has ever happened, calculation by the National Disaster Management Authority have evaluated at an average of 1600 people died due to flood each year.

 

Secondly, when plastic is buried they release chemicals that could greatly harm the soil which affects crop growth. Plastic has chemicals that when release to the body of water or buried, they could bring toxin and poison living things surround it. Moreover many animals and bird likes crows are being surrounded by plastics which is hard to find foods. Furthermore, plastic that ended in ocean cause marine life to greatly damaged. Laura Parker writer who specializes in covering climate change and marine environments in National Geographic writes, “The miracle material has made modern life possible. But more than 40 percent of it is used just once, and it’s choking our waterways.”  Sea Turtles are victims, their prey is jellyfish. Many plastic bags can be confused as jellyfish which turtles can’t digest and many have died from plastic. Researchers found out that the younger turtles are at higher risk of death, therefore, death chance of turtles has increased nearly 50%. In addition to plastic bag, microplastic has increased to about 51 trillion particles–500 times more than stars in our galaxy–in our sea. In 2015, Jenna Jambeck, a University of Georgia engineering professor, estimated that about 14 million tons of plastic just form coastal region. She and her colleagues said that most plastic isn’t thrown off ships but are from rivers and smaller water bodies.

Finally plastic could bring harm to human body. Carcinogenic, neurotoxic, and hormone-disruptive chemicals are the main ingredient found their way into our ecology through water, land and air pollution. When consume or inhaled they chemicals, as a result, it leads to fertility problems, cancer, male impotence, heart disease, and others condition.

To all readers who want our next generations to live peacefully and happily in a healthy environment, therefore we should abolish single-used plastic.

Photography!!

In this class, Cindy taught us about a basic lesson on how does camera work and how to adjust the setting such as :

Exposure- Determines how light or dark your photo will be

Shutter speed- Affects how motion is captured

Aperture- Affects depth of field

ISO-Affects image noise

And there is two type of camera which are DSLR and Mirrorless

Resource: Know, Now You. “Why You Should Hold off on Mirrorless Interchangeable Lens Cameras over DSLRs.” Techly, 23 Jan. 2014, www.techly.com.au/2014/01/04/mirrorless-cameras-rip-dslrs-still-need-mirror-ces-update/.

Here are some photos :

This photo was taken during a school trip.

 

Yeak loum Lake in Cambodia

 

On top of Preah Vihear mountain in Cambodia
Mangroves forest, Koh Kong, Cambodia

Thank you for reading and comment below some photo I will gladly see it.

Introduction To Algebra

In the world, every career has required the work of math to make the work more efficient, reliable, and to keep hold everything together. In our essential classes, one of it is math class, we all love math. For the first month of the new schools year, my friends and I was having fun doing fraction in our math problem in our math textbook(Primary Mathematics series from Singapore). In the past week, our teacher has been recently mentioned about algebra, she said that it is a bit challenging for beginners but when you kind of feels the flow you will find it to be easy. Thanks for the help of Khan Academy, Khmer books, and Sam, shortly after that we manage to learn a part of the algebra.

Credit: Amazon.com
Credit: Khan Academy

 

 

 

 

 

My teacher said that it is just a matter of times, and don’t forget to “Make the most of your learning.”