Skip to content

Tech-noneX/CodeWars-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeWars Python

A collection of Python solutions for Codewars kata, organized by difficulty rank.

Each kata file usually includes:

  • the task description
  • the solution function
  • small test data or a pytest test
  • in some cases, a random data generator for broader testing

Project Structure

CodeWars-python/
+-- 7kyu/
|   +-- disemvowel_trolls.py
|   +-- sum_two_lowest.py
|   +-- youre_a_square.py
+-- 8kyu/
|   +-- even_or_odd.py
|   +-- reversed_string.py
|   +-- ...
+-- templates/
    +-- random_list_of_lists_generator.py
    +-- sentence_generator.py
    +-- string_generator.py

How To Use

Open any kata file and run it directly with Python, or run the test functions with pytest where tests are included.

python 8kyu/even_or_odd.py
pytest

Templates

The templates/ folder contains reusable helpers for generating random lists, strings, sentences, and similar test data while practicing kata.

About

"My Python solutions to Codewars challenges, organized by rank with descriptions and clean code."

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages