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
ASCII Art
4
Algebra
17
Algorithms
593
Arrays
44
Big Integers
2
Binary
3
Bits
2
Cellular Automata
1
Ciphers
1
Combinatorics
20
Cryptography
4
Data Science
6
Data Structures
89
Date Time
5
Discrete Mathematics
4
Dynamic Programming
18
Fundamentals
167
Game Solvers
2
Games
9
Geometry
40
Graph Theory
4
Graphs
1
Image Processing
1
Interpreters
1
Language Features
1
Linear Algebra
6
Lists
6
Logic
65
Machine Learning
8
Mathematics
593
Matrix
11
Memoization
15
Metaprogramming
1
Networks
1
NumPy
1
Number Theory
25
Object-oriented Programming
1
Parsing
3
Performance
71
Permutations
14
Physics
1
Probability
6
Puzzles
51
Recursion
18
Refactoring
1
Regular Expressions
2
Restricted
9
Searching
1
Set Theory
2
Sets
1
Sorting
17
Statistics
7
Strings
45
Trees
2
Tutorials
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
593 Kata Found
4 kyu
Smallest possible sum
8,360
dkhaburdzania
7 Issues Reported
Algorithms
Mathematics
Arrays
Beta
Build an enemy radar with Manhattan Distance
32
unste
Status:
Testing & feedback needed
Estimated Rank:
6 kyu
Algorithms
Arrays
Mathematics
Beta
The Futurama Mind-Switcher machine
9
Donvito-911
Status:
Ranking feedback needed
Estimated Rank:
2 kyu
Algorithms
Data Structures
Mathematics
5 kyu
Fibonacci Factory Function
1,220
x-way
Mathematics
Algorithms
5 kyu
Calculate Variance
2,795
eerwitt
3 Issues Reported
Statistics
Mathematics
Algorithms
7 kyu
Weight of its Contents
2,719
dnolan
2 Issues Reported
Algorithms
Mathematics
5 kyu
Become The Ultimate Phychic
289
spacewalker
2 Issues Reported
Mathematics
Logic
Algorithms
Puzzles
4 kyu
Explosive Sum
9,263
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
6 kyu
Multi-Base Numbers
63
LuggiStruggi
Algorithms
Mathematics
7 kyu
Finding Remainder Without Using '%' Operator
3,042
DivyanshBatham
2 Issues Reported
Mathematics
Restricted
Algorithms
5 kyu
Sliceprimes
48
MatttNguyen
Mathematics
Algorithms
8 kyu
Keep Hydrated!
237,161
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
3 kyu
Screen Locking Patterns
5,200
rsalgado
2 Issues Reported
Mathematics
Combinatorics
Geometry
Algorithms
Graph Theory
6 kyu
Financing Plan on Planet XY140Z-n
4,956
g964
3 Issues Reported
Mathematics
Algorithms
6 kyu
How many permutations where indices change by at most 1
215
benjaminzwhite
Fundamentals
Algorithms
Puzzles
Mathematics
Discrete Mathematics
6 kyu
How Many Numbers?
1,164
raulbc777
3 Issues Reported
Fundamentals
Algorithms
Mathematics
Data Structures
4 kyu
How many numbers III?
4,674
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
7 kyu
Triangular Treasure
29,457
JulianNicholls
2 Issues Reported
Algorithms
Mathematics
5 kyu
How Many Numbers? II
1,493
raulbc777
2 Issues Reported
Algorithms
Data Structures
Mathematics
Fundamentals
6 kyu
Histograms For All The World
62
raulbc777
Algorithms
Mathematics
Statistics
Data Science
Performance
6 kyu
Beetle on a Rubber Band
37
dfhwze
Algorithms
Mathematics
6 kyu
Triangle number check
5,936
user8012989
1 Issue Reported
Mathematics
Algorithms
5 kyu
Convert to base -1+i
53
CrSb0001
Mathematics
Algorithms
7 kyu
Powers of 3
4,040
kjytay
2 Issues Reported
Mathematics
Algorithms
6 kyu
Matrix Trace
1,374
chipit24
Linear Algebra
Mathematics
Matrix
Algorithms
7 kyu
Orthogonal Vectors
2,003
user3043623
4 Issues Reported
Physics
Mathematics
Algorithms
6 kyu
Build a pile of Cubes
90,242
g964
2 Issues Reported
Mathematics
Algorithms
6 kyu
Cut me in Pieces but in The Way I Like
199
raulbc777
Fundamentals
Algorithms
Mathematics
5 kyu
Catch the Bus - Continuous Edition
80
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,830
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...