If/Elif/Else Statement

In Multimedia, we started to learn about Python. Ever wonder what is a Python? Python is a high-level programming language designed to be easy to read and simple to implement. Now, in Python we have a lot of functions and code. This include the If statement which I will be talking about. You might be wondering, what is If statement? An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Here is an Example:

Viade = 189

Wurple = 389

if Wurple > Viade:

print(“Wurple is the best player”)

What should be the result? The result should be a sentence that is “Wurple is the best player”

Now there also elif statement. An elif is a statement that will continue if statement. How? If the If is wrong then it will run the elif. An Elif statement can be like this:

 

Viade = 189

Wurple = 189

if Wurple < Viade:

print(“Wurple is the best player”)

elif Viade == Wurple:

print(“Viade and Wurple are both equal players”)

But what happen if both statement fail? Well no worries because we got an else statement! An else statement is like a executioner! We use it at the end because if both statement fail us, else is here to save the day! An else statement example can be like this:

Viade = 189

Wurple = 389

if Wurple < Viade:

   print(“Wurple is the best player”)

elif Viade == Wurple:

   print(“Viade and Wurple are both equal players”)

else:

print(“Wurple is slightly better than Viade”)

This should be the result of your code. Here is a screenshot I put in to help you:

 

Photo Session

For last week lesson, we learn about how to take a photo and a different angle. Here are some example;

Eye perspective

 

Extreme Close up
Shoulder
Bird Eyes view

I also had a lot of fun taking the photo, there are really crazy and dramatic one I want to show you. 

Just us chilling and being dramatic a bit. Left is me and right is sis Chan
We were doing some expectation vs reality and yeah it kinda turns out like that.
Vuochnea taking photos and manage a smile herself

Some photos are being edited and if you want to see more, please go to my personal learning to see more!

Multimedia-Drawing Game

In Multimedia today, We learn about programming. For the first session, We discuss about the question of ”What is programming?” We then explain it to the whole class. After explaining, we got to do an activity which a player hold a piece of paper with drawing in it. That player is called player 1. He/She is the person who is gonna tell the other person what to draw. BUT He/She cannot point or act it, He/She can only describe it in words. Player 2 are the one who listen to player 1 and draw the pictures. There are bunch of pictures of cow, sheep, zebra, pig, and much more! After playing a bunch of time, we stop and look at other drawings. Now, you might ask yourself “Why is the drawing game related to programming?”. Well, Programming is the process of coding and controlling the computer. In this game, Player 1 acted as the programmer or the coder. Player 2 act as the computer! Without Player 1, Player 2 wouldn’t have any information so He/She will just stay still.