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
1
Algorithms
28
Arrays
2
Combinatorics
1
Cryptography
1
Dynamic Programming
3
Fundamentals
3
Game Solvers
2
Graph Theory
2
Graphs
1
Logic
3
Mathematics
6
Matrix
1
Memoization
1
Performance
28
Puzzles
28
Recursion
1
Searching
1
Strings
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
28 Kata Found
5 kyu
(Insane) N Warriors and a Lamp
166
Bubbler
Puzzles
Performance
Logic
Algorithms
6 kyu
Simple Fun #393: Lonely Frog V
84
myjinxin2015
Algorithms
Puzzles
Performance
6 kyu
Button Tap Sequence
32
dfhwze
Puzzles
Algorithms
Performance
5 kyu
The Bee
275
EgorArh
Algorithms
Mathematics
Matrix
Puzzles
Performance
Dynamic Programming
1 kyu
BECOME IMMORTAL
3,238
Voile
Puzzles
Dynamic Programming
Performance
Algorithms
6 kyu
Numericals of a String
3,622
Jomopipi
Puzzles
Performance
Algorithms
5 kyu
The longest bracket substring in the string
351
myjinxin2015
Puzzles
Performance
Algorithms
Beta
Coins Balance Puzzle
7
lachesism
Status:
Testing & feedback needed
Estimated Rank:
3 kyu
Algorithms
Mathematics
Puzzles
Performance
5 kyu
Water pouring problem
115
sid114
1 Issue Reported
Algorithms
Performance
Puzzles
Graph Theory
6 kyu
Perform operation to make string empty
389
kaluginpeter
Algorithms
Logic
Puzzles
Fundamentals
Strings
Performance
5 kyu
The Trapped Odd Knight
38
SumZbrod
Algorithms
Combinatorics
Puzzles
Performance
4 kyu
Insane Increasing or Decreasing Numbers
134
Bubbler
1 Issue Reported
Algorithms
Mathematics
Puzzles
Performance
2 kyu
Transforming Maze Solver
413
docgunthrop
2 Issues Reported
Algorithms
Arrays
Performance
Puzzles
5 kyu
Boxes in boxes
116
dfhwze
Algorithms
ASCII Art
Performance
Strings
Puzzles
Memoization
Recursion
Mathematics
Dynamic Programming
5 kyu
Light Switch
166
wzy1935
Algorithms
Puzzles
Searching
Performance
2 kyu
Can you control the lights?
62
lil2
Algorithms
Puzzles
Performance
6 kyu
Perfect Queues
108
dfhwze
Algorithms
Arrays
Puzzles
Performance
6 kyu
Move all the grains of rice to a same shared final square
63
benjaminzwhite
Algorithms
Puzzles
Mathematics
Performance
6 kyu
Back and Forth: How Many for Each Side?
125
LanXnHn
Puzzles
Logic
Algorithms
Performance
5 kyu
Configurations of White and Black Knights on a 3x3 chessboard
42
benjaminzwhite
Fundamentals
Algorithms
Puzzles
Mathematics
Performance
Beta
Stones and Ropes - A Graph Problem
13
nuss_ecke
1 Issue Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
4 kyu
Graphs
Algorithms
Puzzles
Performance
4 kyu
Longest Palindromic Substring (Linear)
732
wyatt00
2 Issues Reported
Performance
Algorithms
Puzzles
4 kyu
Superheroes Convention #1 Pandemic
123
Donvito-911
Algorithms
Puzzles
Performance
Graph Theory
Beta
Insane Permutation Promenade (from AoC 2017 Day 16)
32
Bubbler
1 Issue Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
2 kyu
Algorithms
Puzzles
Performance
3 kyu
Alphametics Solver
447
docgunthrop
Puzzles
Performance
Cryptography
Algorithms
Beta
Folding Tiles Solver
10
docgunthrop
2 Issues Reported
Status:
Waiting for issues to be resolved
Algorithms
Performance
Game Solvers
Puzzles
2 kyu
Assorted Rectangular Pieces Puzzle
95
docgunthrop
Puzzles
Performance
Algorithms
Game Solvers
7 kyu
Largest prime number containing n digit
802
Noctisdark
1 Issue Reported
Algorithms
Puzzles
Fundamentals
Performance
Confirm
Collect:
undefined
Loading collection data...