Kata Library: Python Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
Algebra
1
Algorithms
27
Arrays
4
Combinatorics
27
Data Structures
1
Discrete Mathematics
1
Fundamentals
3
Geometry
3
Graph Theory
3
Graphs
1
Linear Algebra
1
Lists
1
Logic
1
Machine Learning
5
Mathematics
20
Memoization
1
NumPy
1
Number Theory
5
Performance
9
Permutations
3
Probability
2
Puzzles
2
Recursion
1
Restricted
1
Set Theory
1
Strings
1
Trees
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
27 Kata Found
4 kyu
1 unique common number in every pair
106
Zzudo
Algorithms
Combinatorics
Arrays
Mathematics
Geometry
5 kyu
Josephus Permutation
16,623
GiacomoSorbi
1 Issue Reported
Mathematics
Permutations
Algorithms
Combinatorics
5 kyu
Josephus Survivor
16,789
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
6 kyu
Lexicographic Permutations
172
mxwil
1 Issue Reported
Fundamentals
Algorithms
Combinatorics
Mathematics
Logic
6 kyu
Levels of Pascal's Pyramid
98
kylito
Arrays
Algorithms
Mathematics
Combinatorics
Recursion
6 kyu
Quick (n choose k) calculator
2,203
GiacomoSorbi
Combinatorics
Algorithms
3 kyu
Screen Locking Patterns
5,007
rsalgado
2 Issues Reported
Mathematics
Combinatorics
Geometry
Algorithms
Graph Theory
5 kyu
[Code Golf] Counting Parallelograms
27
dfhwze
Algorithms
Mathematics
Combinatorics
Geometry
Restricted
5 kyu
"I said: Count them", not "Produce them"- The Instructor has spoken.
36
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
5 kyu
Shuffle It Up
573
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Combinations in a Set Using Boxes II
40
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Combinations in a Set Using Boxes
114
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
Memoization
5 kyu
The Trapped Odd Knight
35
SumZbrod
Algorithms
Combinatorics
Puzzles
Performance
4 kyu
Gymbro's Unique Gym - Weight Calculator
33
Zanamo
1 Issue Reported
Algorithms
Performance
Combinatorics
4 kyu
Matunga coins
72
Hyyudu
Algorithms
Mathematics
Combinatorics
Performance
5 kyu
Counting the Webdesigns based on Used Colours
93
raulbc777
1 Issue Reported
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
6 kyu
Rooks
353
sazzadshopno
Algorithms
Mathematics
Fundamentals
Combinatorics
3 kyu
Totally Good Permutations
46
benjaminzwhite
Algorithms
Mathematics
Combinatorics
Discrete Mathematics
Strings
Set Theory
Number Theory
6 kyu
Prüfer sequences and labeled trees
46
benjaminzwhite
Algorithms
Mathematics
Graphs
Graph Theory
Trees
Combinatorics
4 kyu
Evil genius game - Find the moving chess piece while blindfolded
59
benjaminzwhite
Algorithms
Mathematics
Combinatorics
Performance
5 kyu
Number of players for knockout/round-robin hybrid contest (easy mode)
90
Ku3mi41
Combinatorics
Permutations
Mathematics
Algorithms
5 kyu
Spreading Spores Graph
39
cmistrata
Linear Algebra
Mathematics
Combinatorics
NumPy
Algorithms
Graph Theory
4 kyu
Pick Until Match
30
davilla
Algorithms
Probability
Combinatorics
4 kyu
N queens puzzle (with one mandatory queen position)
310
em-12
Algorithms
Combinatorics
Puzzles
5 kyu
Next Higher Value #2
37
raulbc777
Fundamentals
Data Structures
Arrays
Mathematics
Algebra
Combinatorics
Algorithms
5 kyu
Football Season
36
mro
4 Issues Reported
Combinatorics
Permutations
Algorithms
4 kyu
Dice rolls threshold
148
kirilloid
1 Issue Reported
Probability
Combinatorics
Algorithms
Confirm
Collect:
undefined
Loading collection data...