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
99
Algebra
50
Algorithms
2481
Angular
1
Arrays
853
Artificial Intelligence
6
Asynchronous
3
Backend
5
Big Integers
5
Binary
81
Binary Search Trees
5
Binary Trees
12
Bits
44
Cellular Automata
10
Ciphers
52
Combinatorics
55
Compilers
5
Concurrency
1
Cryptography
64
Data Frames
5
Data Science
36
Data Structures
226
Databases
2
Date Time
67
Debugging
61
Decorator
7
Design Patterns
13
Discrete Mathematics
9
Domain Specific Languages
1
Dynamic Programming
63
Esoteric Languages
22
Event Handling
1
Filtering
11
Flask
1
Functional Programming
61
Fundamentals
2628
Game Solvers
44
Games
304
Genetic Algorithms
6
Geometry
140
Graph Theory
58
Graphics
4
Graphs
13
Heaps
1
Image Processing
4
Interpreters
29
Iterators
10
JSON
4
Language Features
17
Linear Algebra
21
Linked Lists
23
Lists
206
Logic
216
Machine Learning
13
Mathematics
1080
Matrix
81
Memoization
26
Metaprogramming
17
Monads
1
MongoDB
1
Networks
12
Neural Networks
1
NumPy
6
Number Theory
87
Object-oriented Programming
87
Parsing
60
Performance
271
Permutations
39
Physics
8
Priority Queues
1
Probability
33
Puzzles
878
Queues
6
Recursion
117
Refactoring
24
Reflection
2
Regular Expressions
244
Restricted
114
Reverse Engineering
3
Riddles
13
SQL
1
Scheduling
4
Searching
8
Security
26
Set Theory
10
Sets
9
Simulation
13
Singleton
1
Sorting
144
Stacks
4
State Machines
9
Statistics
40
Streams
1
Strings
1017
Threads
2
Trees
25
Tutorials
22
Unicode
8
Web Scraping
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
5,784 Kata Found
4 kyu
Simple Fun #119: Sub Sets Parity
448
myjinxin2015
Puzzles
4 kyu
Elementary conveyor
129
ElterZ
Performance
Fundamentals
Beta
Turing Machine: Simulation
7
YurichBRO
Status:
Ranking feedback needed
Estimated Rank:
6 kyu
State Machines
8 kyu
Hex to Decimal
32,281
wichu
4 Issues Reported
Fundamentals
5 kyu
Lazy Repeater
8,758
nklein
1 Issue Reported
Iterators
Algorithms
7 kyu
Pairs of integers from 0 to n
2,573
buttonupbub
Fundamentals
6 kyu
Playing with digits
146,384
g964
3 Issues Reported
Fundamentals
Mathematics
7 kyu
How many socks for a pair?
265
xcn
Fundamentals
Mathematics
7 kyu
Turing Machine: Movement
83
YurichBRO
State Machines
7 kyu
EAN Validation
2,804
SithFire
Algorithms
Fundamentals
Mathematics
Strings
7 kyu
Circle cipher
1,146
tomatosonic
1 Issue Reported
Ciphers
Algorithms
8 kyu
Find the first non-consecutive number
69,464
thecodeite
1 Issue Reported
Arrays
Fundamentals
6 kyu
Disgruntled Employee
1,245
user5854572
1 Issue Reported
Logic
Mathematics
Sorting
Arrays
Puzzles
7 kyu
Loop Detector
332
Dreamshield
6 kyu
Calculate the area of a regular n sides polygon inside a circle of radius r
4,955
Chrono79
3 Issues Reported
Mathematics
Geometry
Fundamentals
7 kyu
List of all Rationals
566
Paul Robertson
Mathematics
Lists
Fundamentals
8 kyu
The falling speed of petals
18,065
Uxie
Algorithms
5 kyu
Subset Sum
70
JohanWiltink
Performance
6 kyu
Is this a valid Tic Tac Toe position?
536
SummerTheCoder
Arrays
Algorithms
Games
Logic
2 kyu
15x15 Nonogram Solver
332
Bubbler
Puzzles
Games
Performance
Game Solvers
6 kyu
Tiling a rectangle with squares
59
Paul Robertson
Fundamentals
Algorithms
Recursion
Performance
5 kyu
Pattern Generator
258
candrabeqx
Algorithms
ASCII Art
6 kyu
Smallest set with same multiplicative closure
37
YurichBRO
Number Theory
6 kyu
FIXME: Hello
3,207
dinglemouse
Debugging
Beta
Subset Sum - Hard Version
6
Aza_rt
Status:
Ranking feedback needed
Estimated Rank:
3 kyu
Mathematics
Discrete Mathematics
1 kyu
To BrainFuck Transpiler
221
ZED.CWT
3 Issues Reported
Esoteric Languages
Parsing
Compilers
7 kyu
Happy Birthday, Darling!
3,881
anter69
Mathematics
Fundamentals
5 kyu
Codewars API
147
jamad
Fundamentals
5 kyu
Count IP Addresses
31,954
xDranik
1 Issue Reported
Algorithms
5 kyu
Not very secure
51,074
mayrsascha
6 Issues Reported
Regular Expressions
Strings
Loading...
Confirm
Collect:
undefined
Loading collection data...