Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/feed-rss2.php on line 8
Thais Lizeth Santos Acosta’s Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Thu, 07 May 2015 02:37:31 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Mastery30 https://kenscourses.com/tc101winter2015/2015/mastery30/ Thu, 07 May 2015 02:37:31 +0000 https://lizethacosta.withknown.com/2015/mastery30

Reading and writing of files in Python

Para este Mastery, utilizré el código del WSQ16 (:

Link: https://github.com/LizethAcosta/Tareas/blob/master/WSQ16

Es muy sencillo abrir un archivo, los primero es ubicar el archivo .txt en la misma carpeta donde tendremos guardado nuestro programa. Lo abriremos con "Open" y le daremos el atributo "r" que es de lectura. Ya que tenemos nuestro archivo abierto, podremos hacer lo que se nos pida: contar líneas, mostrar datos, etc. Es muy importante que cerremos nuestro archivo al finalizar el programa, lo cual lo haremos con a.close()

30

Continue reading ]]>

Reading and writing of files in Python

Para este Mastery, utilizré el código del WSQ16 (:

Link: https://github.com/LizethAcosta/Tareas/blob/master/WSQ16

Es muy sencillo abrir un archivo, los primero es ubicar el archivo .txt en la misma carpeta donde tendremos guardado nuestro programa. Lo abriremos con “Open” y le daremos el atributo “r” que es de lectura. Ya que tenemos nuestro archivo abierto, podremos hacer lo que se nos pida: contar líneas, mostrar datos, etc. Es muy importante que cerremos nuestro archivo al finalizar el programa, lo cual lo haremos con a.close()

30

]]>
https://creativecommons.org/licenses/by/4.0/
WSQ16 https://kenscourses.com/tc101winter2015/2015/wsq16-13/ Thu, 07 May 2015 02:34:12 +0000 https://lizethacosta.withknown.com/2015/wsq16

Cars

Link: https://github.com/LizethAcosta/Tareas/blob/master/WSQ16

16

Continue reading ]]>

Cars

Link: https://github.com/LizethAcosta/Tareas/blob/master/WSQ16

16

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery29 https://kenscourses.com/tc101winter2015/2015/mastery29/ Thu, 07 May 2015 02:23:21 +0000 https://lizethacosta.withknown.com/2015/mastery29

Validated user input in Python

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery29

29

Continue reading ]]>

Validated user input in Python

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery29

29

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery28 https://kenscourses.com/tc101winter2015/2015/mastery28-5/ Wed, 06 May 2015 06:24:07 +0000 https://lizethacosta.withknown.com/2015/mastery28

Input: Text

Es muy sencillo. Como es un texto el que queremos que el usuario introduzca, lo convertiremos a string.

Ejemplo:

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery28

28

Continue reading ]]>

Input: Text

Es muy sencillo. Como es un texto el que queremos que el usuario introduzca, lo convertiremos a string.

Ejemplo:

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery28

28

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery27 https://kenscourses.com/tc101winter2015/2015/mastery27-5/ Wed, 06 May 2015 06:14:32 +0000 https://lizethacosta.withknown.com/2015/mastery27

Diccionarios

Se trata que cuando tienes una lista que a su vez tiene categorías, al momento de imprimir el pograma, te dara el valor de la categoría que indicaste. 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery27

27

Continue reading ]]>

Diccionarios

Se trata que cuando tienes una lista que a su vez tiene categorías, al momento de imprimir el pograma, te dara el valor de la categoría que indicaste. 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery27

27

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery26 https://kenscourses.com/tc101winter2015/2015/mastery26-6/ Wed, 06 May 2015 06:00:40 +0000 https://lizethacosta.withknown.com/2015/mastery26

Strings

Son las frases o palabras que tenemos en nuestro programa, podemos sumarlas, restarlas, etc.

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery26

26

Continue reading ]]>

Strings

Son las frases o palabras que tenemos en nuestro programa, podemos sumarlas, restarlas, etc.

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery26

26

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery22 https://kenscourses.com/tc101winter2015/2015/mastery22-4/ Wed, 06 May 2015 05:29:35 +0000 https://lizethacosta.withknown.com/2015/mastery22

Repetitions

While: Is used for repeating sections of code until a defined condition is met.

For: Is used when you have a piece of code which you want to repeat n number of times. 

Recursion: Is when a function is called inside de same function.

It depends on what your program is about. While is used for repeting actions. For is used for actions that the function have to do for each element in something. And recursion is when you have some conditions that are going to change the original value and then it have to make the function again.

 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery22

22

 

Continue reading ]]>

Repetitions

While: Is used for repeating sections of code until a defined condition is met.

For: Is used when you have a piece of code which you want to repeat n number of times. 

Recursion: Is when a function is called inside de same function.

It depends on what your program is about. While is used for repeting actions. For is used for actions that the function have to do for each element in something. And recursion is when you have some conditions that are going to change the original value and then it have to make the function again.

 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery22

22

 

]]>
https://creativecommons.org/licenses/by/4.0/
Mastery20 https://kenscourses.com/tc101winter2015/2015/mastery20-13/ Wed, 06 May 2015 05:05:23 +0000 https://lizethacosta.withknown.com/2015/mastery20

For

For loops are traditionally used when you have a piece of code which you want to repeat n number of times. 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery20

20

Continue reading ]]>

For

For loops are traditionally used when you have a piece of code which you want to repeat n number of times. 

Link: https://github.com/LizethAcosta/Tareas/blob/master/Mastery20

20

]]>
https://creativecommons.org/licenses/by/4.0/
Quiz11 https://kenscourses.com/tc101winter2015/2015/quiz11/ Tue, 28 Apr 2015 14:34:39 +0000 https://lizethacosta.withknown.com/2015/quiz11 Continue reading ]]>

Question 1

Link: https://github.com/LizethAcosta/Quiz11/blob/master/Question1

Question 2

Link: https://github.com/LizethAcosta/Quiz11/blob/master/Question2

]]>
https://creativecommons.org/licenses/by/4.0/
ECOS https://kenscourses.com/tc101winter2015/2015/ecos-12/ Thu, 23 Apr 2015 17:27:26 +0000 https://lizethacosta.withknown.com/2015/ecos Continue reading ]]>

La hice desde el 21 que salió (:

 

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