diff --git a/python/3-conditionals-and-for-loops/fizzbuzz.py b/python/3-conditionals-and-for-loops/fizzbuzz.py index 7dd68d0..f0fa29d 100644 --- a/python/3-conditionals-and-for-loops/fizzbuzz.py +++ b/python/3-conditionals-and-for-loops/fizzbuzz.py @@ -1,5 +1,5 @@ def fizzbizz(num): - + pass def assertion(actual, expected): diff --git a/python/4-while-loops/multiply.py b/python/4-while-loops/multiply.py index 9711c07..20a8535 100644 --- a/python/4-while-loops/multiply.py +++ b/python/4-while-loops/multiply.py @@ -1 +1,2 @@ def multiplication_table(number): + pass diff --git a/python/5-triangles-part-1/triangle.py b/python/5-triangles-part-1/triangle.py index 43c16ce..5453a4e 100644 --- a/python/5-triangles-part-1/triangle.py +++ b/python/5-triangles-part-1/triangle.py @@ -1 +1,2 @@ def triangle(num): + pass diff --git a/python/6-triangles-part-2/triangle.py b/python/6-triangles-part-2/triangle.py new file mode 100644 index 0000000..42246cb --- /dev/null +++ b/python/6-triangles-part-2/triangle.py @@ -0,0 +1,2 @@ +def mario_triangle(num): + pass diff --git a/python/7-todo-list/README.md b/python/7-todo-list/README.md deleted file mode 100644 index f6862d1..0000000 --- a/python/7-todo-list/README.md +++ /dev/null @@ -1,24 +0,0 @@ -To Do List -========== - -When it comes to learning new web languages, the todo list has become a "Hello World". So expect to revisit this in Python. - -But until then, we will do it in front-end Javascript. - -You will find the toDoList prototype and constructor at the top of the main.js file. - -###Create the List - -The add method adds a todo to the list, using the text input and form. - -The complete method marks the appropriate todo item complete. The user wants to click the item itself and strike the item, noting it done. - -Use toggle to toggle it done struck and unstruck. - -Feel free to add any other methods, lists or objects you may want. You will want a separate function to print the list to the #printout div. - -###Woah! Client's demands have changed - -Now the client who was going to buy your sweet todo list wants a new feature. Is it going to break your whole code, or is your code modular and extendable? - -They want it so after a user completes a task, it is displayed struck for 10 seconds, but then disappears from your list. Google the setTimeout method. \ No newline at end of file diff --git a/python/8-fizz-buzz-again/README.md b/python/8-fizz-buzz-again/README.md deleted file mode 100644 index 40dfa89..0000000 --- a/python/8-fizz-buzz-again/README.md +++ /dev/null @@ -1,10 +0,0 @@ -I'm Fizz Buzzing Bro -==================== - -Write a function that takes a positive number, and returns you the sum of all multiples of 3 and 5, but not numbers that are multiples of 15. - -In Python, here is how we define a function: - - def multiples(num): - algorithm ##indentation is mandatory - return(sum) ##this is it, no closure! \ No newline at end of file diff --git a/python/8-fizz-buzz-again/multiples.py b/python/8-fizz-buzz-again/multiples.py deleted file mode 100644 index 9738d93..0000000 --- a/python/8-fizz-buzz-again/multiples.py +++ /dev/null @@ -1 +0,0 @@ -def multiples(number): diff --git a/python/9a-temperature-converter/README.md b/python/9a-temperature-converter/README.md index 27300d9..86b68a0 100644 --- a/python/9a-temperature-converter/README.md +++ b/python/9a-temperature-converter/README.md @@ -1,17 +1,14 @@ Temperature Converters ====================== -###Fahrenheit to Celsius -Write a function that converts fahrenheit temperatures to celsius. The equation to do this is: +#### Fahrenheit to Celsius +Write a function that converts fahrenheit temperatures to celsius. The equation to do this is ```C = (F - 32) * 5/9```. - C = (F - 32) * 5/9 +#### Celsius to Fahrenheit -###Celsius to Fahrenheit +Write a similar function that converts celsius to fahrenheit. +The equation for this is ```F = (C * 9/5) + 32```. -Write a similar function that converts celsius to fahrenheit. The equation: +#### Testing - F = (C * 9/5) + 32 - -###Testing - -Make sure the tests pass. Write 3 of your own tests. \ No newline at end of file +Make sure the tests pass. Write 3 of your own tests.