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
592
Arrays
43
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
592
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
592 Kata Found
5 kyu
Fibonacci Factory Function
930
x-way
Mathematics
Algorithms
5 kyu
Calculate Variance
2,603
eerwitt
3 Issues Reported
Statistics
Mathematics
Algorithms
7 kyu
Weight of its Contents
2,690
dnolan
2 Issues Reported
Algorithms
Mathematics
5 kyu
Become The Ultimate Phychic
271
spacewalker
2 Issues Reported
Mathematics
Logic
Algorithms
Puzzles
4 kyu
Explosive Sum
9,143
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
6 kyu
Multi-Base Numbers
60
LuggiStruggi
Algorithms
Mathematics
7 kyu
Finding Remainder Without Using '%' Operator
2,966
DivyanshBatham
2 Issues Reported
Mathematics
Restricted
Algorithms
5 kyu
Sliceprimes
46
MatttNguyen
Mathematics
Algorithms
8 kyu
Keep Hydrated!
235,260
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
3 kyu
Screen Locking Patterns
5,134
rsalgado
2 Issues Reported
Mathematics
Combinatorics
Geometry
Algorithms
Graph Theory
6 kyu
Financing Plan on Planet XY140Z-n
4,943
g964
3 Issues Reported
Mathematics
Algorithms
6 kyu
How many permutations where indices change by at most 1
208
benjaminzwhite
Fundamentals
Algorithms
Puzzles
Mathematics
Discrete Mathematics
6 kyu
How Many Numbers?
1,153
raulbc777
3 Issues Reported
Fundamentals
Algorithms
Mathematics
Data Structures
4 kyu
How many numbers III?
4,627
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
7 kyu
Triangular Treasure
29,374
JulianNicholls
2 Issues Reported
Algorithms
Mathematics
5 kyu
How Many Numbers? II
1,479
raulbc777
2 Issues Reported
Algorithms
Data Structures
Mathematics
Fundamentals
6 kyu
Histograms For All The World
52
raulbc777
Algorithms
Mathematics
Statistics
Data Science
Performance
6 kyu
Beetle on a Rubber Band
35
dfhwze
Algorithms
Mathematics
6 kyu
Triangle number check
5,924
user8012989
1 Issue Reported
Mathematics
Algorithms
5 kyu
Convert to base -1+i
49
CrSb0001
Mathematics
Algorithms
7 kyu
Powers of 3
4,028
kjytay
2 Issues Reported
Mathematics
Algorithms
6 kyu
Matrix Trace
1,364
chipit24
Linear Algebra
Mathematics
Matrix
Algorithms
7 kyu
Orthogonal Vectors
1,991
user3043623
4 Issues Reported
Physics
Mathematics
Algorithms
6 kyu
Build a pile of Cubes
89,835
g964
2 Issues Reported
Mathematics
Algorithms
6 kyu
Cut me in Pieces but in The Way I Like
197
raulbc777
Fundamentals
Algorithms
Mathematics
5 kyu
Catch the Bus - Continuous Edition
78
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,663
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
6 kyu
Multiples of 3 and 5 redux
2,058
yumaikas
Algorithms
Mathematics
5 kyu
Largest product in a series
4,025
JaniL
Mathematics
Algorithms
5 kyu
Mean Square Error
22,808
kylehill
Arrays
Mathematics
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...