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
11
Algebra
39
Algorithms
593
Arrays
82
Big Integers
2
Binary
8
Bits
4
Cellular Automata
1
Ciphers
2
Combinatorics
32
Cryptography
7
Data Science
12
Data Structures
107
Date Time
6
Debugging
2
Design Patterns
1
Discrete Mathematics
6
Dynamic Programming
22
Functional Programming
4
Fundamentals
440
Game Solvers
4
Games
20
Geometry
73
Graph Theory
5
Graphics
1
Graphs
2
Image Processing
1
Interpreters
1
Language Features
2
Linear Algebra
12
Lists
15
Logic
89
Machine Learning
8
Mathematics
1079
Matrix
19
Memoization
18
Metaprogramming
1
Networks
1
NumPy
2
Number Theory
59
Object-oriented Programming
2
Parsing
4
Performance
117
Permutations
25
Physics
1
Probability
18
Puzzles
128
Recursion
24
Refactoring
1
Regular Expressions
7
Restricted
39
Searching
1
Security
1
Set Theory
3
Sets
1
Simulation
1
Sorting
21
Statistics
22
Strings
90
Trees
2
Tutorials
4
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
1,079 Kata Found
6 kyu
Calculate the area of a regular n sides polygon inside a circle of radius r
4,784
Chrono79
3 Issues Reported
Mathematics
Geometry
Fundamentals
6 kyu
Integers: Recreation Two
1,058
g964
2 Issues Reported
Fundamentals
Mathematics
Puzzles
7 kyu
Return the first M multiples of N
10,343
diophore
6 Issues Reported
Mathematics
Fundamentals
4 kyu
Smallest possible sum
8,325
dkhaburdzania
7 Issues Reported
Algorithms
Mathematics
Arrays
4 kyu
Repeating Faro Shuffle
18
Yushi.py
Mathematics
Number Theory
Performance
6 kyu
Steps in k-primes
1,004
g964
1 Issue Reported
Mathematics
Number Theory
5 kyu
Is my friend cheating?
18,396
g964
7 Issues Reported
Fundamentals
Mathematics
Puzzles
7 kyu
Area of an arrow
7,588
@m1ll
Mathematics
5 kyu
Integer complexity
60
YurichBRO
Mathematics
Number Theory
Performance
Beta
Build an enemy radar with Manhattan Distance
31
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
6 kyu
Cat Kata, Part 1
1,803
tachyonlabs
Mathematics
Fundamentals
7 kyu
Functions of Integers on Cartesian Plane
3,366
g964
1 Issue Reported
Fundamentals
Mathematics
6 kyu
Persistent Bugger.
209,741
joh_pot
Fundamentals
Mathematics
5 kyu
Fibonacci Factory Function
1,212
x-way
Mathematics
Algorithms
5 kyu
Calculate Variance
2,786
eerwitt
3 Issues Reported
Statistics
Mathematics
Algorithms
7 kyu
Weight of its Contents
2,715
dnolan
2 Issues Reported
Algorithms
Mathematics
5 kyu
Become The Ultimate Phychic
285
spacewalker
2 Issues Reported
Mathematics
Logic
Algorithms
Puzzles
4 kyu
Explosive Sum
9,253
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
6 kyu
Multi-Base Numbers
62
LuggiStruggi
Algorithms
Mathematics
7 kyu
Finding Remainder Without Using '%' Operator
3,030
DivyanshBatham
2 Issues Reported
Mathematics
Restricted
Algorithms
Beta
How many socks for a pair?
38
xcn
Status:
Awaiting approval
Estimated Rank:
7 kyu
Fundamentals
Mathematics
7 kyu
Driving School Series #2
3,784
kkavita92
1 Issue Reported
Mathematics
Fundamentals
7 kyu
Cartesian neighbors
3,466
febonachi
2 Issues Reported
Fundamentals
Mathematics
7 kyu
Count number of Turing Machines with N rules
91
Jomopipi
Combinatorics
Mathematics
8 kyu
Volume of a Cuboid
121,239
user5196477
Geometry
Fundamentals
Mathematics
8 kyu
Twice as old
82,538
petrosernivka
Fundamentals
Mathematics
5 kyu
Sliceprimes
48
MatttNguyen
Mathematics
Algorithms
8 kyu
Keep Hydrated!
236,874
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
7 kyu
Square Every Digit
335,604
MysteriousMagenta
2 Issues Reported
Mathematics
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...