Solutions for tasks from website https://www.codewars.com
All kata are included in the "kata" directory.
- 1_kata.py - return an array, where the first element is the count of positives numbers and the second element is sum of negative numbers. 0 is neither positive nor negative.
- 2_kata.py - a function that turns a string into a Mexican Wave.
- three_kata.py - translator from DNA to RNA.
- four_kata.py - multiplicative persistence
- five_kata.py - count values in string
- six_kata.py - return a list with only your friends name
- seven_kata.py - return reverse string
Not all exercises have tests - it depends on my free time and energy. To run the tests, You need to run:
pytest -v