_____ _ _
/ ____| | (_)
| | ___ __| |_ _ __ __ _
| | / _ \ / _` | | '_ \ / _` |
| |___| (_) | (_| | | | | | (_| |
\_____\___/ \__,_|_|_| |_|\__, |
__/ |
|___/
____ _ _ _ __ _ _ _
| _ \ | | | | | | / _(_) | | | |
| |_) | __ _| |_| |_| | ___| |_ _ ___| | __| |
| _ < / _` | __| __| |/ _ \ _| |/ _ \ |/ _` |
| |_) | (_| | |_| |_| | __/ | | | __/ | (_| |
|____/ \__,_|\__|\__|_|\___|_| |_|\___|_|\__,_|
A place where fierce fights and struggling with coding tasks and chalenges may occur.
Feel free to provide any suggestions or comments.
- python
- codewars
- sololearn
- hackerrank
Browse and run kata solutions in the browser:
https://bmalvo.github.io/battlefield/
Keep using the same folder layout. Push to main as usual — the site rebuilds automatically on every push.
codewars/kata_8/my_new_kata/
├── my_new_kata.py
└── test_my_new_kata.py
sololearn/medium/some_challenge/
├── some_challenge.py
└── test_some_challenge.py
| File | What to include |
|---|---|
| Solution | One .py file per folder (not named test_*) |
| Tests | A test_*.py file in the same folder |
| Description | Task text in the docstring at the top of the solution file |
| Tests style | @pytest.mark.parametrize works best for the Run tab |
You do not need to edit site/ or scripts/ when adding new katas.
⚔️⚔️⚔️