0

WSQ15 – Images

Hi everyone this WSQ15 was very funny because I really want to make this kind of stuff like a mini program, this WSQ might get difficult if you don’t understand what are you going to do and how?

For this I recommend the following link for all of you who have doubts (like I was):

Guide for Pillow

Pillow Documentation

I really recommend these links because it is all you need to understand and do your WSQ15.

Here’s some screen shots and my code:

Untitled

0

WSQ13 – Babylonian Method

This time I came with the Babylonian Method, this was a simple task but it required to think a little bit, so I’m going to show you my code, also some pages that help me.

https://en.wikipedia.org/wiki/Methods_of_computing_square_roots

Square roots with pencil and paper: the Babylonian method

Untitled

0

Quiz#7 Online Submission

Hi Ken this is my Quiz#7.

About the problems I think the first one was a bit easier than the second one, because in math we have seen, the formula to find the distance between two coordinates, about the second I think it was difficult because in the beginning I didn’t realize how I will do it, but as I look in internet about fibonacci series little by little I found a way to make it work!!!

 

Here are my codes:

Problem 1:

Problem 2:

0

WSQ09 – Factorial Calculator

Hi this time I’m posting the most difficult WSQ until now, it has been difficult because I insist in use functions to run the program but finally I got it!, I’m not kidding I don’t want to hear functions in a while…

Take from Giphy

The program should ask for a input, but it has to be only integer, it cannot accept float number, letters, negative numbers; once it has the value given it has to print its factorial, (n + n-1 + n-2, … , 1), finally just ask the user to continue the program or just leave with a “Have a nice day :)” quote.

WSQ09

0

WSQ01 – Setup Python 3

Evening of Friday, I just finished the meal and sat in front of the computer, I go to http://www.ubuntu.com then download the iso of Ubuntu 14.04 LTS, I realized I don’t have any usb or dvd (but who uses dvd nowadays) so I bought a usb, then I make it booteable, I restart windows, enter to UEFI (jesus why they change the previous motherboard) I change several things like secure boot, and change UEFI to CSM and I continue to install Ubuntu after a 30 min, I finallly have Ubuntu 😀

Ubuntu comes with Python 3 but just to confirm I download the latest version. I learned to download Python3 because of
Johan Guerrero (man you’re the mvp)

InstallationPython3

So everything is set to start working in Python3 in Ubuntu, and to keep with the tradition my first line in this new language was “Hello World”
HelloWorld

The process of setup Python3 was too complicated for me because I tried (and failed) to install alongside windows 8.1 and Ubuntu 14.04, maybe in the future I’ll try again.