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
29
Algebra
23
Algorithms
2479
Angular
1
Arrays
366
Artificial Intelligence
2
Backend
1
Big Integers
4
Binary
36
Binary Search Trees
5
Binary Trees
8
Bits
18
Cellular Automata
3
Ciphers
27
Combinatorics
27
Compilers
2
Cryptography
42
Data Frames
1
Data Science
18
Data Structures
178
Databases
1
Date Time
26
Debugging
3
Decorator
1
Design Patterns
2
Discrete Mathematics
6
Domain Specific Languages
1
Dynamic Programming
45
Esoteric Languages
12
Filtering
7
Functional Programming
25
Fundamentals
447
Game Solvers
27
Games
119
Genetic Algorithms
5
Geometry
73
Graph Theory
43
Graphics
2
Graphs
5
Image Processing
3
Interpreters
19
Iterators
3
JSON
1
Language Features
2
Linear Algebra
12
Linked Lists
12
Lists
74
Logic
141
Machine Learning
12
Mathematics
592
Matrix
52
Memoization
20
Metaprogramming
3
Monads
1
Networks
4
Neural Networks
1
NumPy
2
Number Theory
43
Object-oriented Programming
28
Parsing
39
Performance
185
Permutations
20
Physics
5
Priority Queues
1
Probability
10
Puzzles
221
Queues
5
Recursion
74
Refactoring
3
Regular Expressions
78
Restricted
20
Riddles
3
Scheduling
4
Searching
7
Security
19
Set Theory
9
Sets
4
Simulation
8
Sorting
86
Stacks
3
State Machines
3
Statistics
15
Streams
1
Strings
417
Trees
15
Tutorials
10
Unicode
2
Web Scraping
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
2,479 Kata Found
7 kyu
UVB-76 Message Validator
1,171
Drymonade
Algorithms
Strings
Regular Expressions
7 kyu
Finding queens on the board
739
KapHullloK
1 Issue Reported
Algorithms
6 kyu
Parity bit - Error detecting code
972
pshp
Algorithms
Binary
Strings
Fundamentals
5 kyu
Fibonacci Factory Function
1,103
x-way
Mathematics
Algorithms
7 kyu
Simple equation reversal
3,144
KenKamau
Algorithms
6 kyu
Count the divisible numbers
3,567
joh_pot
1 Issue Reported
Fundamentals
Algorithms
7 kyu
Genetic Algorithm Series - #1 Generate
3,687
gabrielsiedler
2 Issues Reported
Strings
Fundamentals
Genetic Algorithms
Algorithms
5 kyu
Calculate Variance
2,683
eerwitt
3 Issues Reported
Statistics
Mathematics
Algorithms
6 kyu
Upside down numbers
2,575
KenKamau
Algorithms
5 kyu
Crossword Puzzle! (2x2)
297
rowcased
Puzzles
Algorithms
6 kyu
Parse a linked list from a string
2,512
donaldsebleung
1 Issue Reported
Linked Lists
Recursion
Algorithms
7 kyu
String doubles
3,238
KenKamau
Strings
Algorithms
5 kyu
Don't Drink the Water
2,871
NateBrady23
Algorithms
Arrays
Sorting
Lists
7 kyu
Calculate Two People's Individual Ages
3,503
AseelM
Fundamentals
Algorithms
Arrays
7 kyu
Weight of its Contents
2,696
dnolan
2 Issues Reported
Algorithms
Mathematics
5 kyu
Become The Ultimate Phychic
273
spacewalker
2 Issues Reported
Mathematics
Logic
Algorithms
Puzzles
4 kyu
Explosive Sum
9,158
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
6 kyu
Thue-Morse Sequence
807
SandQueen
Strings
Binary
Algorithms
6 kyu
Get Password from grid
873
kodejuice
Logic
Arrays
Algorithms
Data Structures
6 kyu
Multi-Base Numbers
61
LuggiStruggi
Algorithms
Mathematics
1 kyu
Game of Life in Reverse
57
lsnbr
1 Issue Reported
Algorithms
Cellular Automata
3 kyu
Count Connectivity Components
556
ecolban
1 Issue Reported
Strings
Algorithms
Graph Theory
6 kyu
Kids and candies
1,053
sebaas
Algorithms
Beta
Is this a valid Tic Tac Toe position?
19
SummerTheCoder
1 Issue Reported
Status:
Waiting for issues to be resolved
Arrays
Algorithms
Games
Logic
7 kyu
Finding Remainder Without Using '%' Operator
2,982
DivyanshBatham
2 Issues Reported
Mathematics
Restricted
Algorithms
6 kyu
Find the unique number
155,382
isqua
3 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
6 kyu
Message Validator
4,128
frkn2076
5 Issues Reported
Algorithms
4 kyu
Decode the Morse code, advanced
15,613
jolaf
10 Issues Reported
Algorithms
7 kyu
Interlocking Binary Pairs
3,589
rowcased
Binary
Bits
Algorithms
5 kyu
Four Letter Words ~ Mutations
688
rowcased
Strings
Arrays
Games
Parsing
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...