Introduction to Programming Python and C++

Tag Archives: Non classé

WSQ17 #TC101

Hi, Today I wish share with you my solution to solve the wsq17. I started to create a function to read the file and create a dictionary: I used the csv module to read line by line the file and convert each line in lists. I used two loops , one to read each line […]

BONUS article

Hello, I write this bonus article because I would like to share my experience with you about this Python classe. According to me the Python classe with Ken Bauer is the best way to learn a programmation langage. You have to do some exercise each week to improve like an exponential function 🙂 Ken let you […]

MASTERY 30

Hi, Today it’s the last mastery that I posted 🙁 So, I have to explain you how it’s possible to read and write of files in Python. It’s really easy you have just to write the name of your file and the mode that you want to used. For example: open (« nameofmyfile » , « r ») if […]

MASTERY 29

Hi, Today , I’m explaining you how validate an user input in Python. We can focus on the WSQ06. The user has to find the good number provides by the random function. If the input is less, it’s indicated. The same case happened if the input is above. The loop finish itself only if the number […]

MASTERY 25

Hi, Today I want to show you the range function. We can see it mostly in the for loop. It works like this: range(start,stop,step) start is not compulsory by default is 0. step is not compulsory by default is 1. The goal of this function is to do an arithmetic progression. Have a good day […]

MASTERY 24

Hi, Today I want to explain you the concept of a tuple in python. A tuple is a sequence of immutable Python objects. The difference with the list is the syntaxe. A list is with brackets whereas tuples with are parenthesis. But be careful to access to one value you have to use some brackets […]

MASTERY 22

Hi, Here is my method to choose between all of types of repetition in a program. Well, when I know the number of times for the repetition; I used the for loop. When I don’t know but I know the condition to stop the repetition I used the while loop. The recursive method is a little […]

MASTERY 6

Hi, Here is the steps to install Linux on your own computer: Download a Virtual Machine whose the version matches with your computer. For example: I possessed a MAC , you have to download this specific version Then, you have to download a version of Linus. I did it: Ubuntu or Lubuntu. This second version takes […]

MASTERY 5

Hi, Today I’m going to explain you why is interesting to use Linus during exam or quizzes. According to me it’s interesting to know this operative system. First of all, Linus is used by mostly computer engineers. It’s a good occasion for us to learn how it works. The interface is very different but it […]

MASTERY 2

Hi, Today, I want to show you the ability to create Python project in IDE and run inside the IDE. In this classes I used Atom but for other projects I used Ecclipse. Some IDE are specific for one programmation language. The goal of all of the IDE is to help the programmer to code […]

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).