Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
‘ITESM’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Wed, 25 Nov 2015 17:24:06 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Mastery 30 https://kenscourses.com/tc101fall2015/2015/mastery-30/ Wed, 25 Nov 2015 17:24:06 +0000 http://choza973.wordpress.com/?p=186 Reading and writing files in Python.

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 27 https://kenscourses.com/tc101fall2015/2015/mastery-27-2/ Wed, 25 Nov 2015 17:22:45 +0000 http://choza973.wordpress.com/?p=184 About creation and use of dictionaries.

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 24 https://kenscourses.com/tc101fall2015/2015/mastery-24-7/ Wed, 25 Nov 2015 17:21:41 +0000 http://choza973.wordpress.com/?p=180 ]]> Creation and use of tuples, here’s the video!

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 25 & 11 https://kenscourses.com/tc101fall2015/2015/mastery-25-11/ Wed, 25 Nov 2015 17:20:18 +0000 http://choza973.wordpress.com/?p=175 ]]> I made lots of short videos about masteries, let’s start with this one.

I explained some code from this source:

http://pythoncentral.io/pythons-range-function-explained/

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery 4 https://kenscourses.com/tc101fall2015/2015/mastery-4-5/ Wed, 25 Nov 2015 00:35:38 +0000 http://choza973.wordpress.com/?p=170 ]]> Here’s my “code” for mastery number 4!

https://github.com/Choza973/Mastery-4/blob/master/MST4.py

I will place this video here.

]]>
https://creativecommons.org/licenses/by/4.0/
Class Review https://kenscourses.com/tc101fall2015/2015/class-review/ Mon, 23 Nov 2015 21:55:24 +0000 http://choza973.wordpress.com/?p=165 ]]> Here’s my video for the class review, i had to make it in Spanish since i can express myself better that way.

 

]]>
https://creativecommons.org/licenses/by/4.0/
Half Quiz 11 https://kenscourses.com/tc101fall2015/2015/half-quiz-11/ Sun, 22 Nov 2015 02:01:03 +0000 http://choza973.wordpress.com/?p=148 ]]> Sup’ fellas, i had no luck with the “e” calculation, but here’s the banana thing.

I tried with “readlines” or “readline” but readlines won’t work if it’s a list what it is trying to read, and readline would only read 1 line, and i would take a lot of time doing lines of codes for every line of text.

Nice pun with the “bananasplit” Ken, since we had to use it, and you told us to read bananas, get it? Heh.

Here’s a snip:

Quiz11

quiz11.2

Comparison between reading a single line and the whole text.

quiz11.3

God of Python HELP ME.

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ 13 https://kenscourses.com/tc101fall2015/2015/wsq-13/ Fri, 20 Nov 2015 15:07:36 +0000 http://choza973.wordpress.com/?p=130 ]]> This is about the Babylonian method of calculating a square root of some number, sorry i did get the code from another source but anyway:

WSQ13

First, ask for the value “n” and declare a function.

Use the parameter x and eps which is a really small number.

“R” is the same value as “x”, a copy.

While the absolute value of “x – r * r” is greater than eps, it will loop doing a multiplication of 0.5 and some weird adition of r and x / r.

And obviously return r.

WSQ13-2

Source: http://www.okomestudio.net/cs4bum/?p=76

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ 12 https://kenscourses.com/tc101fall2015/2015/wsq-12-3/ Fri, 20 Nov 2015 14:52:21 +0000 http://choza973.wordpress.com/?p=113 ]]> Blog post for WSQ12 which is Greatest Common Divisor or gcd for short.

QUIZ12

What i do here is, ask the user for 2 values, declare a function, and then use a loop which then changes the value of “x” to “y” and “y” to the remainder of the division from “x” and “y”, while “y” exists or has a value.

Then return “x”.

I honestly got this code from:

http://www.programiz.com/python-programming/examples/hcf

But i do try to understand the code and give it a use.

Besides i’m not that good at math…

]]>
https://creativecommons.org/licenses/by/4.0/
“WSQ #15” https://kenscourses.com/tc101fall2015/2015/wsq-15-2/ Fri, 20 Nov 2015 14:43:04 +0000 http://choza973.wordpress.com/?p=97 ]]> This is my blog post for WSQ15 which i couldn’t accomplish at all for some reasons.

First i tried this:

Pillow
from: http://pillow.readthedocs.org/en/3.0.x/installation.html

Had to install PIP and then run the commands, didn’t work.

Tried with older versions so it compiles easily, NOPE.

Downloaded the zip file and decompressed, then ran from Cygwin, guess what? It didn’t work.

🙁

]]>
https://creativecommons.org/licenses/by/4.0/