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
aureliemartinette’s Articles at TC101 Fall 2015, Page 2
Introduction to Programming Python and C++

Author Archives: aureliemartinette

Quiz#11

Hi,
Here is my codes for the quiz#11 :
https://github.com/aureliemartinet/TC101/blob/master/e_quizz11.py
https://github.com/aureliemartinet/TC101/blob/master/checkbanana.py
https://github.com/aureliemartinet/TC101/blob/master/checkbanana.txt
Have a goo…

WSQ14 #TC101

Hi, The subject of this task is to display to the user an approximation of e. When a user give you a precision for example 2, you have to display e and to be sure that the two first numbers just after the coma are right. To check your result you can use the google […]

WSQ13 #TC101

Hi, Here is my code to create the square root function based on the Babylonian method. I reproduced the formula in wikipedia: x represent the approximation of the square root of n y is the quotient between the number n and this approximation In my program I chose 0,0000001 of accuracy but you can change this value […]

WSQ12 #TC101

Hi everybody, Today I want to share with you my solution to create a greatest common divisor function. First , I was in wikipedia to understand how works this mathematical formula. I found this rule: gcd(a,0) = a . That’s why I chose b = 0 to stop my while loop. Then I focused of […]

MASTERY 3 & 4

Hi, My goal is to show you how to create a github account to share your python code when you post a wsq on your blog. Go on the website https://github.com and create an account.You have to choose a funny nickname. This one is really important because your github URL and github adress depend on. Create a new repository. […]

MASTERY 27

Hi, Here is my code to create a dictionary. First you have to create your dictionary by using the dict( ) method. So you can see that it’s not a good way to use dict as a variable because this word is reserved. Then you can match a key and a value. A dictionary is […]

MASTERY 26

Hi,
Here is my code to create a string and display it !
First you create your string and then you can display the letter that you want !
Have a good day 🙂

MASTERY 23

Hi,
Today I want to show you how it’s possible to create a list in python.
First you can create an empty list. The syntaxe to create a list is : [ ]
Then, you can call the append method to add some values in your list.
Have a good day !

WSQ11 #TC101

Hi, Here is my program to look for the lychrel numbers. I put some comments of my code to get it more easily !!! Have a good night ! Yo Soy 196 ! #WSQ11 #TC101 pic.twitter.com/8TIg5tZjjL — Aurélie Martinet (@AMartinet14) October 29, 2015

MASTERY 21

Hi, Here is a program which called fibonacci function. I used the recursion concept. We can see that the function called itself with another parameter. This method has the same impact that create a for loop but it’s really faster. Have a good day !

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).