Author Archives: Oscar López

On To Functions #WSQ08

I just searched on Google about functions on Python, and then asked the teacher for some help in exactly what goes inside the function and how to call it properly.

Here’s my code:

https://www.dropbox.com/s/azojgqebtuklheu/functions.py?dl=0

Oscar Ricardo López López A01229116

Sum of Numbers #WSQ07

I just used a variable with the initial value as the lower bound, and had it to count the loops and sum that into the final sum every loop, until the counting variable was the same value as the upper bound. 

Here’s my code:

https://www.dropbox.com/s/r1pqsoqn7exuura/sum.py?dl=0

Oscar Ricardo López López A01229116

Random Number #WSQ06

I gave a variable a random number from 1 to 100 using the random library with randrange to say I wanted to number to be from 1 to 100. Then I asked the user for the number with an input and matched said input with the random number the library gave me. Using a loop to keep asking the user for a number until he gets it right.

Here’s my code: 

https://www.dropbox.com/s/huimpn099prip0f/randomnumber.py?dl=0

Oscar Ricardo López López A01229116

Temperature #WSQ05

Here’s my temperature program. It’s pretty simple, all I used was ask the user for an input, and then convert the degrees with the formula, and use If and Else to condition to print if water would boil or not at that specific temperature.

 

https://www.dropbox.com/s/qanbejw1i1ohup4/temp.py?dl=0

 

Oscar Ricardo López López A01229116

About Me #WSQ04

Hello, my name is Oscar Lopez. I am a student at Tecnológico de Monterrey. I’m studying Electronic Engineering, and to be honest I really like it, I’m sure I made the right choice with my degree.

My hero would be Nikola Tesla, he has always been a huge role model for me, just all the things that he did and invented, and he wasn’t even trying to make money out of them. He revolutionized Electric and Electronic fields.

I used to play Basketball and a little bit of American football back in my hometown, but currently I don’t play any.

I spend most of my days at my computer, playing videogames, reading news, watching videos and learning new stuff.

I love listening to music and just be alone with my thoughts. I mostly listen to Hard Rock and Metal, but I’m pretty open to other genres.

 

Oscar Ricardo López López A01229116

Fun With Numbers #WSQ03

For this WSQ I just used what I learned on C#, and searched on Google how to ask the user for an input on Python. Everything else is just math stuff like sum, difference and multiplication.

 

Here’s my code:

https://www.dropbox.com/s/hzv175ge36qjn3g/W3.py?dl=0

 

Oscar Ricardo López López A01229116

Flipped Classroom #WSQ02

1 min read

Here is a Cool video explaining what Flipped Classrooms are. 

Teaching for Tomorrow: Flipped Learning

I really think Flipped Classrooms are the future of learning. The student can use its time with the teacher to solve specific doubts or problems instead of just hearing a 30 minute explanation and then not have enough time to work at class with the teacher help.

#WSQ02

Oscar Ricardo López López

A01229116

I Installed Python #WSQ01

1 min read

I already downloaded and installed python on my PC. If anyone want a quick video tutorial on how to install it on Windows 8, I found this one pretty helpful:

https://www.youtube.com/watch?v=CihHoWzmFe4

#WSQ01

I signed Page One #WSQ00

Twitter and GitHub Info #mastery03

1 min read

Oscar Ricardo López López, A01229116

Twitter: @OscarLpz5

GitHub ID: OscarLpz95

#mastery03

Mastery03