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
Algorithms
28
Arrays
41
Binary
1
Bits
1
Data Structures
4
Fundamentals
11
Game Solvers
1
Games
9
Geometry
1
Lists
3
Logic
41
Mathematics
7
Matrix
2
Memoization
1
Performance
2
Permutations
1
Puzzles
6
Recursion
1
Sorting
3
Strings
5
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
41 Kata Found
6 kyu
Is this a valid Tic Tac Toe position?
477
SummerTheCoder
Arrays
Algorithms
Games
Logic
6 kyu
Disgruntled Employee
1,119
user5854572
1 Issue Reported
Logic
Mathematics
Sorting
Arrays
Puzzles
6 kyu
Wave Sorting
2,158
kodejuice
5 Issues Reported
Algorithms
Arrays
Logic
Sorting
6 kyu
Get Password from grid
927
kodejuice
Logic
Arrays
Algorithms
Data Structures
7 kyu
Determine if the poker hand is flush
6,330
CodingWarrior
1 Issue Reported
Arrays
Algorithms
Logic
Strings
Games
7 kyu
sum2total
1,331
debri
Logic
Mathematics
Arrays
Lists
Fundamentals
6 kyu
String Suffixes
1,282
debri
Strings
Logic
Arrays
Algorithms
6 kyu
Selective Array Reversing
2,293
kodejuice
1 Issue Reported
Algorithms
Logic
Arrays
6 kyu
Remember
1,315
debri
2 Issues Reported
Logic
Strings
Arrays
Algorithms
6 kyu
Reducing by rules to get the result
1,479
user5036852
Arrays
Logic
Algorithms
6 kyu
Even Odd Pattern #1
741
debri
1 Issue Reported
Logic
Arrays
Mathematics
Puzzles
6 kyu
Split all even numbers to odd ones in different ways
483
user5036852
1 Issue Reported
Arrays
Logic
Algorithms
Beta
Check and Mate?
483
Zirgion
2 Issues Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
2 kyu
Logic
Arrays
Data Structures
Games
Algorithms
5 kyu
Rotate a square matrix like a vortex
588
user5036852
Logic
Arrays
Algorithms
Matrix
6 kyu
Playing With Toy Blocks ~ Can you build a 4x4 square?
767
rowcased
Logic
Arrays
Games
Puzzles
Geometry
Algorithms
4 kyu
Organize a Round-robin tournament
886
rubs33
Arrays
Logic
Algorithms
3 kyu
Make a spiral
15,361
Bugari
1 Issue Reported
Algorithms
Arrays
Logic
6 kyu
Find the lines!
149
Avanta
Algorithms
Arrays
Lists
Logic
7 kyu
Where's Waldo?
591
dfhwze
Puzzles
Strings
Arrays
Logic
6 kyu
Matrix Exponentiation
274
zofy
Arrays
Matrix
Algorithms
Logic
6 kyu
Sorting by bits
9,454
kodejuice
Logic
Arrays
Algorithms
Data Structures
Fundamentals
Bits
Binary
Sorting
6 kyu
A Wandering Man and his Umbrellas
150
unflxw
1 Issue Reported
Logic
Arrays
5 kyu
A Man and his Umbrellas
1,848
mattlub
Logic
Arrays
Fundamentals
7 kyu
Set Reducer
2,213
Endre-Kodehode
Recursion
Algorithms
Logic
Arrays
Beta
Round Robin Match Generator
14
MykolaVuy
Status:
Testing & feedback needed
Estimated Rank:
4 kyu
Algorithms
Mathematics
Logic
Permutations
Arrays
7 kyu
Mysterious Singularity Numbers
1,540
mor1nch
Fundamentals
Logic
Mathematics
Arrays
Algorithms
Performance
6 kyu
Traverse array elements diagonally
604
kodejuice
1 Issue Reported
Arrays
Logic
Algorithms
6 kyu
Tetris Series #2 — Primitive Gameplay
324
Etoneja
Fundamentals
Games
Algorithms
Arrays
Logic
6 kyu
Hexagonal Grid: Distance
51
saudiGuy
Arrays
Games
Logic
6 kyu
Prime ant
380
kodejuice
Mathematics
Logic
Arrays
Games
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...