Author Archives: Antonio Yosefat Juárez Quintero

Yo Soy 196 #WSQ11 #TC1014

 

Finished the Yo Soy 196 code.

I had a lot of problems with the logic of this problem but in the end I managed to get it.

The other thing that I had problems with was in converting an int into str to make it a palindrome.

Code: https://github.com/YosefatJQ/Python-Course-TC1014/blob/master/wsq11.py

Lists #WSQ10 #TC1014

Finished the WSQ10, the only problem I had in this program was to get the logic of the operations, saw some youtube videos and at last, I managed to understand it.

WSQ10

Estimating e #WSQ14 #TC1014

Just finished the , it was quite easy, the only problem I had is that I forgot to put the divisor in parentheses.

Code: https://github.com/YosefatJQ/Python-Course-TC1014/blob/master/wsq14.py

WSQ14

Pick up a number #WSQ06

I finished the Pick up a number WSQ and actually I faced a lot of problems. First of all I didn’t know how to make a random number so I had to search for the commands: http://effbot.org/pyfaq/how-do-i-generate-random-numbers-in-python.htm

The second one is that when I tried to run my program, I sent me an error, this was because my Python file was called random.py and when I tried to import random in my code, it got like crazy. 

Fortunately, I tried everything and fond out what was that error, so here is my code: https://www.dropbox.com/s/1uj1ri1dxzr7xpn/WSQ06.py?dl=0

Sum of numbers #WSQ07

I did the sum of numbers WSQ in here, first you need to learn how to use a loop, in my case I used while, after that you have to declare 2 variables, one for the sum and one for the counter, what I did is to ad +1 to the counter variable each time that the loop repeats and adding that variable to the variable sum. 

 

Code: https://www.dropbox.com/s/x71bs221vrrqjuv/sumofnumbers.py?dl=0

How to use else in Python #Mastery17

In this video I’m showing how to use else in Python3.

Link: http://youtube.com/watch?v=rkGqIyWQKXU

Antonio Yosefat Juárez Quintero

A01228128

How to use elif in Python #Mastery17

In this video I’m showing how to use elif in Python3

Link: https://www.youtube.com/watch?v=cpSdkeDJzPM

Antonio Yosefat Juárez Quintero

A01228128

How to use If in Python #Mastery15

In this video I’m showing how to use if in a Python code.

Link: https://www.youtube.com/watch?v=WY0qLMaU3fk

Antonio Yosefat Juárez Quintero

A01228128

How to Call a Function in Python #Mastery11

In this video I’m showing how to call a function in Python.

Link: https://www.youtube.com/watch?v=FK3P3CkJu5I

Antonio Yosefat Juárez Quintero

A01228128

 #TC1014

Creating a function in Python #Mastery12

In this video I showed how to make a function in Python.

Link: https://www.youtube.com/watch?v=w95P-KCelNY

Antonio Yosefat Juárez Quintero

A01228128