diff --git a/day00.pdf b/day00.pdf
index 3b645d57..5d58dff9 100644
Binary files a/day00.pdf and b/day00.pdf differ
diff --git a/day00/day00.md b/day00/day00.md
index e2330cca..70a051dc 100644
--- a/day00/day00.md
+++ b/day00/day00.md
@@ -11,13 +11,13 @@ Basic setup, variables, types, functions, ...
## General rules
* The version of Python to use is 3.7, you can check the version of Python with the following command: `python -V`
-* The norm: during this bootcamp you will follow the Pep8 standards https://www.python.org/dev/peps/pep-0008/
+* The norm: during this bootcamp you will follow the Pep8 standards https://www.python.org/dev/peps/pep-0008/
* The function eval is never allowed.
* The exercises are ordered from the easiest to the hardest.
* Your exercises are going to be evaluated by someone else, so make sure that your variable names and function names are appropriate and civil.
* Your manual is the internet.
* You can also ask questions in the dedicated channel in the 42 AI Slack: 42-ai.slack.com.
-* If you find any issue or mistakes in the subject please create an issue on our dedicated repository on Github: https://github.com/42-AI/bootcamp_python/issues.
+* If you find any issue or mistakes in the subject please create an issue on our dedicated repository on Github: https://github.com/42-AI/bootcamp_python/issues.
## Helper
@@ -26,11 +26,11 @@ How do you install and link Python in the $PATH? That's the first exercise!
Ensure that you have the right Python version.
```
-$> which python
+> which python
/goinfre/miniconda/bin/python
-$> python -V
+> python -V
Python 3.7.*
-$> which pip
+> which pip
/goinfre/miniconda/bin/pip
```
diff --git a/day00/ex00/ex00.md b/day00/ex00/ex00.md
index 22120bce..5fcbe993 100644
--- a/day00/ex00/ex00.md
+++ b/day00/ex00/ex00.md
@@ -53,8 +53,6 @@ which python
Your python should now be the one corresponding to the miniconda environment !
-
-
## Conda automated install
A way to install the entire environment is to define a bash function in your `~/.zshrc`.
diff --git a/day00/ex01/ex01.md b/day00/ex01/ex01.md
index e68e7451..c5f2426b 100644
--- a/day00/ex01/ex01.md
+++ b/day00/ex01/ex01.md
@@ -11,10 +11,10 @@ You will have to make a program that reverses the order of a string and the case
If we have more than one argument we have to merge them into a single string and sperate each arg by a ' ' (space char).
```console
-$> python exec.py "Hello World!" | cat -e
+> python exec.py "Hello World!" | cat -e
!DLROw OLLEh$
-$> python exec.py "Hello" "my Friend" | cat -e
+> python exec.py "Hello" "my Friend" | cat -e
DNEIRf YM OLLEh$
-$> python exec.py
-$>
+> python exec.py
+>
```
diff --git a/day00/ex02/ex02.md b/day00/ex02/ex02.md
index 530fd601..db85a60e 100644
--- a/day00/ex02/ex02.md
+++ b/day00/ex02/ex02.md
@@ -11,15 +11,15 @@ You will have to make a program that checks if a number is odd, even or zero.
The program will accept only one parameter, an integer.
```console
-$> python whois.py 12
+> python whois.py 12
I'm Even.
-$> python whois.py 3
+> python whois.py 3
I'm Odd.
-$> python whois.py
-$> python whois.py 0
+> python whois.py
+> python whois.py 0
I'm Zero.
-$> python whois.py Hello
+> python whois.py Hello
ERROR
-$> python whois.py 12 3
+> python whois.py 12 3
ERROR
```
diff --git a/day00/ex03/ex03.md b/day00/ex03/ex03.md
index 7ba8b2a1..f51f2f78 100644
--- a/day00/ex03/ex03.md
+++ b/day00/ex03/ex03.md
@@ -14,7 +14,7 @@ Create a function called `text_analyzer` that displays the sums of upper charact
Test it in the Python console:
```console
-$> python
+> python
>>> from count import text_analyzer
>>> text_analyzer("Python 2.0, released 2000, introduced
features like List comprehensions and a garbage collection
diff --git a/day00/ex04/ex04.md b/day00/ex04/ex04.md
index 5089782f..2d731d4c 100644
--- a/day00/ex04/ex04.md
+++ b/day00/ex04/ex04.md
@@ -10,47 +10,47 @@
You will have to make a program that prints the results of the four elementary mathematical operations of arithmetic (addition, subtraction, multiplication, division) and the modulo operation. This should be accomplished by writing a function that takes 2 numbers as parameters and returns 5 values, as formatted in the console output below.
```console
-$> python operations.py 10 3
+> python operations.py 10 3
Sum: 13
Difference: 7
Product: 30
Quotient: 3.3333333333333335
Remainder: 1
-$>
-$> python operations.py 42 10
+>
+> python operations.py 42 10
Sum: 52
Difference: 32
Product: 420
Quotient: 4.2
Remainder: 2
-$>
-$> python operations.py 1 0
+>
+> python operations.py 1 0
Sum: 1
Difference: 1
Product: 0
Quotient: ERROR (div by zero)
Remainder: ERROR (modulo by zero)
-$>
-$> python operations.py
+>
+> python operations.py
Usage: python operations.py
Example:
python operations.py 10 3
-$>
-$> python operations.py 12 10 5
+>
+> python operations.py 12 10 5
InputError: too many arguments
Usage: python operations.py
Example:
python operations.py 10 3
-$>
-$> python operations.py "one" "two"
+>
+> python operations.py "one" "two"
InputError: only numbers
Usage: python operations.py
Example:
python operations.py 10 3
-$>
-$> python operations.py "512" "63.1"
+>
+> python operations.py "512" "63.1"
InputError: only numbers
Usage: python operations.py
diff --git a/day00/ex05/ex05.md b/day00/ex05/ex05.md
index 84840d5f..8053da42 100644
--- a/day00/ex05/ex05.md
+++ b/day00/ex05/ex05.md
@@ -18,7 +18,7 @@ t = (19,42,21)
Including the tuple above in your file, write a program that dynamically builds up a formatted string like the following:
```console
-$> python kata00.py
+> python kata00.py
The 3 numbers are: 19, 42, 21
```
@@ -35,7 +35,7 @@ languages = {
Using the `languages` dictionary above, a similar exercise:
```console
-$> python kata01.py
+> python kata01.py
Python was created by Guido van Rossum
Ruby was created by Yukihiro Matsumoto
PHP was created by Rasmus Lerdorf
@@ -50,7 +50,7 @@ PHP was created by Rasmus Lerdorf
Given the tuple above, whose values stand for: `(hour, minutes, year, month, day)`, write a program that displays it in the following format:
```console
-$> python kata02.py
+> python kata02.py
09/25/2019 03:30
```
@@ -63,9 +63,9 @@ phrase = "The right format"
Write a program to display the string above right-aligned with '-' padding and a total length of 42 characters:
```console
-$> python kata03.py | cat -e
+> python kata03.py | cat -e
--------------------------The right format%
-$> python kata03.py | wc -c
+> python kata03.py | wc -c
42
```
@@ -78,6 +78,6 @@ $> python kata03.py | wc -c
Given the tuple above, return the following result:
```console
-$> python kata04.py
+> python kata04.py
day_00, ex_04 : 132.42, 1.00e+04, 1.23e+04
```
diff --git a/day00/ex06/ex06.md b/day00/ex06/ex06.md
index 70cb5435..ff410426 100644
--- a/day00/ex06/ex06.md
+++ b/day00/ex06/ex06.md
@@ -42,7 +42,7 @@ The program will prompt the user to make a choice between printing the cookbook,
It could look like the example below but feel free to organize it the way you want to:
```console
-$> python recipe.py
+> python recipe.py
Please select an option by typing the corresponding number:
1: Add a recipe
2: Delete a recipe
@@ -63,7 +63,7 @@ Takes 60 minutes of cooking.
Your program must continue running until the user exits it (option 5):
```console
-$> python recipe.py
+> python recipe.py
Please select an option by typing the corresponding number:
1: Add a recipe
2: Delete a recipe
@@ -79,7 +79,7 @@ The program will also continue running if the user enters a wrong value.
It will prompt the user again until the value is correct:
```console
-$> python recipe.py
+> python recipe.py
Please select an option by typing the corresponding number:
1: Add a recipe
2: Delete a recipe
diff --git a/day00/ex07/ex07.md b/day00/ex07/ex07.md
index ab146f6b..33643341 100644
--- a/day00/ex07/ex07.md
+++ b/day00/ex07/ex07.md
@@ -11,12 +11,12 @@ Using list comprehensions, you will have to make a program that removes all the
The program will accept only two parameters: a string, and an integer n.
```console
-$> python filterwords.py "Hello, my friend" 3
+> python filterwords.py "Hello, my friend" 3
['Hello', 'friend']
-$> python filterwords.py "A robot must protect its own existence as long as such protection does not conflict with the First or Second Law" 6
+> python filterwords.py "A robot must protect its own existence as long as such protection does not conflict with the First or Second Law" 6
['protect', 'existence', 'protection', 'conflict']
-$> python filterwords.py Hello World
+> python filterwords.py Hello World
ERROR
-$> python filterwords.py 300 3
+> python filterwords.py 300 3
ERROR
```
diff --git a/day00/ex08/ex08.md b/day00/ex08/ex08.md
index b6b61b08..d022a235 100644
--- a/day00/ex08/ex08.md
+++ b/day00/ex08/ex08.md
@@ -11,12 +11,12 @@ You will have to make a function which encodes strings into Morse code.
The input will accept all alphanumeric characters.
```console
-$> python sos.py "SOS"
+> python sos.py "SOS"
... --- ...
-$> python sos.py
-$> python sos.py "HELLO / WORLD"
+> python sos.py
+> python sos.py "HELLO / WORLD"
ERROR
-$> python sos.py "96 BOULEVARD" "Bessiere"
+> python sos.py "96 BOULEVARD" "Bessiere"
----. -.... / -... --- ..- .-.. . ...- .- .-. -.. / -... . ... ... .. . .-. .
```
diff --git a/day00/ex09/ex09.md b/day00/ex09/ex09.md
index cc3b4bbd..9946960f 100644
--- a/day00/ex09/ex09.md
+++ b/day00/ex09/ex09.md
@@ -14,7 +14,7 @@ You have to count the number of trials and print that number when the user wins.
```console
-$> python guess.py
+> python guess.py
This is an interactive guessing game!
You have to enter a number between 1 and 99 to find out the secret number.
Type 'exit' to end the game.
@@ -42,7 +42,7 @@ If the user discovers the secret number on the first try, tell them.
Bonus: if the secret number is 42, make a reference to Douglas Adams.
```console
-$> python guess.py
+> python guess.py
What's your guess between 1 and 99?
>> 42
The answer to the ultimate question of life, the universe and everything is 42.
@@ -51,7 +51,7 @@ Congratulations! You got it on your first try!
Other example:
```console
-$> python guess.py
+> python guess.py
This is an interactive guessing game!
You have to enter a number between 1 and 99 to find out the secret number.
Type 'exit' to end the game.
diff --git a/day00/ex10/ex10.md b/day00/ex10/ex10.md
index a5aa3383..49a846f0 100644
--- a/day00/ex10/ex10.md
+++ b/day00/ex10/ex10.md
@@ -23,7 +23,7 @@ print(ret)
```
```console
-$> python loading.py
+> python loading.py
ETA: 8.67s [ 23%][=====> ] 233/1000 | elapsed time 2.33s
...
2000
@@ -40,7 +40,7 @@ print(ret)
```
```console
-$> python loading.py
+> python loading.py
ETA: 14.67s [ 9%][=> ] 327/3333 | elapsed time 1.33s
...
5552778
diff --git a/day01.pdf b/day01.pdf
index 180fd613..2054723e 100644
Binary files a/day01.pdf and b/day01.pdf differ
diff --git a/day01/day01.md b/day01/day01.md
index 5e43f823..d894901e 100644
--- a/day01/day01.md
+++ b/day01/day01.md
@@ -24,11 +24,11 @@ Objects, cast, class, inheritance, built-in functions, magic methods, generator,
Ensure that you have the right Python version.
```
-$> which python
+> which python
/goinfre/miniconda/bin/python
-$> python -V
+> python -V
Python 3.7.*
-$> which pip
+> which pip
/goinfre/miniconda/bin/pip
```
diff --git a/day01/ex01/ex01.md b/day01/ex01/ex01.md
index 556709a2..d3e05a7a 100644
--- a/day01/ex01/ex01.md
+++ b/day01/ex01/ex01.md
@@ -39,7 +39,7 @@ Add two methods to your child class:
Running commands in the Python console, an example of what you should get:
```console
-$> python
+> python
>>> from game import GotCharacter, Stark
>>> arya = Stark("Arya")
>>> print(arya.__dict__)
diff --git a/day02.pdf b/day02.pdf
index ee34a7fe..03bfb383 100644
Binary files a/day02.pdf and b/day02.pdf differ
diff --git a/day02/day02.md b/day02/day02.md
index e83cd989..4f53d9a1 100644
--- a/day02/day02.md
+++ b/day02/day02.md
@@ -23,11 +23,11 @@ Decorators, multiprocessing, lambda, build package, ...
Ensure that you have the right Python version.
```
-$> which python
+> which python
/goinfre/miniconda/bin/python
-$> python -V
+> python -V
Python 3.7.*
-$> which pip
+> which pip
/goinfre/miniconda/bin/pip
```
diff --git a/day02/ex02/ex02.md b/day02/ex02/ex02.md
index 112310b3..1ea7eb36 100644
--- a/day02/ex02/ex02.md
+++ b/day02/ex02/ex02.md
@@ -74,7 +74,7 @@ Blub blub blub...
```
```bash
-$> cat machine.log
+> cat machine.log
(cmaxime)Running: Start Machine [ exec-time = 0.001 ms ]
(cmaxime)Running: Boil Water [ exec-time = 0.005 ms ]
(cmaxime)Running: Make Coffee [ exec-time = 2.499 s ]
@@ -92,6 +92,6 @@ $> cat machine.log
(cmaxime)Running: Start Machine [ exec-time = 0.009 ms ]
(cmaxime)Running: Make Coffee [ exec-time = 0.024 ms ]
(cmaxime)Running: Add Water [ exec-time = 5.026 s ]
-$>
+>
```
diff --git a/day03.pdf b/day03.pdf
index 676717a0..7a1a2d53 100644
Binary files a/day03.pdf and b/day03.pdf differ
diff --git a/day03/day03.md b/day03/day03.md
index 88c38e36..14fe00cf 100644
--- a/day03/day03.md
+++ b/day03/day03.md
@@ -27,11 +27,11 @@ For this day you will use the image provided in the `resources` folder
Ensure that you have the right Python version.
```
-$> which python
+> which python
/goinfre/miniconda/bin/python
-$> python -V
+> python -V
Python 3.7.*
-$> which pip
+> which pip
/goinfre/miniconda/bin/pip
```
diff --git a/day03/ex03/ex03.md b/day03/ex03/ex03.md
index d31907fa..f414cadb 100644
--- a/day03/ex03/ex03.md
+++ b/day03/ex03/ex03.md
@@ -72,24 +72,24 @@ Examples:
From this base image:
-
+
* invert:
-
+
* to_blue:
-
+
* to_green:
-
+
* to_red:
-
+
* celluloid:
-
+
diff --git a/day04.pdf b/day04.pdf
index 880b0c16..9226fef0 100644
Binary files a/day04.pdf and b/day04.pdf differ
diff --git a/day04/day04.md b/day04/day04.md
index 7f89936c..3fd6ad91 100644
--- a/day04/day04.md
+++ b/day04/day04.md
@@ -31,11 +31,11 @@ pip install pandas
Ensure that you have the right Python version.
```
-$> which python
+> which python
/goinfre/miniconda/bin/python
-$> python -V
+> python -V
Python 3.7.*
-$> which pip
+> which pip
/goinfre/miniconda/bin/pip
```
diff --git a/day04/ex06/ex06.md b/day04/ex06/ex06.md
index bee077f2..ae099323 100644
--- a/day04/ex06/ex06.md
+++ b/day04/ex06/ex06.md
@@ -27,16 +27,16 @@ Examples:
* histogram:
-
+
* density:
-
+
* pair_plot:
-
+
* box_plot:
-
+