From 41dccb64694e8df24805080a4c95ecd842e29763 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Mon, 23 Jan 2023 15:29:06 +0000 Subject: [PATCH] docs(punishment): apply linter to subject --- subjects/devops/punishment/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subjects/devops/punishment/README.md b/subjects/devops/punishment/README.md index e694c36f..6b6d9bca 100644 --- a/subjects/devops/punishment/README.md +++ b/subjects/devops/punishment/README.md @@ -6,11 +6,13 @@ Often in schools we are asked to copy hundreds of sentences in order to better r Hopefully we now have Python that can do the job for us. In order to do so create a file `punishment.py` which will contain a function `do_punishment` having 3 arguments: + - `first_part`: which will be a string. - `second_part`: which will be also a string. - `nb_lines`: which will be a number. Here is the prototype of the function: + ```python def do_punishment(first_part, second_part, nb_lines): ``` @@ -51,5 +53,5 @@ The first half and the second. ### References -* [strip](https://www.w3schools.com/python/ref_string_strip.asp) -* [string multiplication](https://www.geeksforgeeks.org/create-multiple-copies-of-a-string-in-python-by-using-multiplication-operator/) +- [strip](https://www.w3schools.com/python/ref_string_strip.asp) +- [string multiplication](https://www.geeksforgeeks.org/create-multiple-copies-of-a-string-in-python-by-using-multiplication-operator/)