Repository of exercises for Module 6 of the Discovery Piscine at 42 (Parameters and Strings in Python).
~/discovery_piscine/
└── module6/
├── ex00/
│ └── aff_first_param.py
├── ex01/
│ └── upcase_it.py
├── ex02/
│ └── downcase_it.py
├── ex03/
│ └── aff_rev_params.py
├── ex04/
│ └── scan_it.py| Exercise | Folder | File | Description |
|---|---|---|---|
| 00 | ex00/ | aff_first_param.py |
Displays the first received parameter; if no parameters are provided, shows "none". |
| 01 | ex01/ | upcase_it.py |
Converts the string received as a parameter to uppercase; if the number of parameters ≠ 1, shows "none". |
| 02 | ex02/ | downcase_it.py |
Converts the string received as a parameter to lowercase; if the number of parameters ≠ 1, shows "none". |
| 03 | ex03/ | aff_rev_params.py |
Displays all received parameters in reverse order; if fewer than 2 parameters, shows "none". |
| 04 | ex04/ | scan_it.py |
Counts how many times the first parameter (keyword) appears in the second parameter (string); if fewer than 2 parameters or not found, shows "none". |
| Exercise | Folder | Completed | Submitted | Validated |
|---|---|---|---|---|
| 00 | ex00 | ✅ Yes | ✅ Yes | ✅ Yes |
| 01 | ex01 | ✅ Yes | ✅ Yes | ✅ Yes |
| 02 | ex02 | ✅ Yes | ✅ Yes | ✅ Yes |
| 03 | ex03 | ✅ Yes | ✅ Yes | ✅ Yes |
| 04 | ex04 | ✅ Yes | ✅ Yes | ✅ Yes |
This project is part of the learning process during the Discovery Piscine 42 and is submitted for educational purposes.
You may reuse the code for personal use or as reference.
Developed as part of the Python programming challenge during the Discovery Piscine 42.