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
43
Combinatorics
5
Cryptography
2
Data Structures
3
Discrete Mathematics
1
Dynamic Programming
2
Fundamentals
7
Geometry
1
Graph Theory
1
Graphs
1
Lists
1
Logic
1
Machine Learning
4
Mathematics
25
Memoization
2
Number Theory
43
Performance
19
Permutations
2
Puzzles
2
Recursion
7
Regular Expressions
1
Set Theory
1
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
43 Kata Found
6 kyu
Goldbach's Conjecture
585
rsalgado
Algorithms
Number Theory
6 kyu
Collatz
5,257
trent.armstrong
Number Theory
Algorithms
Beta
Say which terms are prime in this sequence?
12
Paul Robertson
Status:
Testing & feedback needed
Estimated Rank:
6 kyu
Number Theory
Mathematics
Algorithms
5 kyu
Sorting Arrays by the Amount of Perfect Squares that Each Element May Generate
485
raulbc777
1 Issue Reported
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Jump to zero (Subtask 4)
58
TLEojxSunlight
1 Issue Reported
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
5 kyu
Generate Numbers From Digits #2
110
raulbc777
Fundamentals
Logic
Strings
Data Structures
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Following Sierpinski's Footprints
55
raulbc777
Algorithms
Performance
Number Theory
Fundamentals
5 kyu
Almost Isosceles Integer Triangles With Their Angles With Asymptotic Tendency
70
raulbc777
Algorithms
Performance
Number Theory
Recursion
Geometry
Fundamentals
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
6 kyu
Ulam Sequences
256
erdos2n
Number Theory
Mathematics
Algorithms
2 kyu
Jump to zero (Subtask 6)
10
TLEojxSunlight
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
6 kyu
Simple Fun #146: Chandos Number
392
myjinxin2015
Algorithms
Number Theory
4 kyu
Polydivisible Numbers
633
ChristianECooper
2 Issues Reported
Number Theory
Algorithms
4 kyu
The smallest number with a given number of divisors
161
user8729270
Mathematics
Recursion
Algorithms
Number Theory
Performance
6 kyu
Greatest common divisor as linear combination
122
IttayWeiss
Algorithms
Mathematics
Number Theory
Cryptography
5 kyu
A self-descriptive fractal sequence
95
Paul Robertson
Algorithms
Lists
Number Theory
Recursion
2 kyu
Pisano Period - Performance Edition
73
topologoanatom
1 Issue Reported
Performance
Mathematics
Number Theory
Algorithms
4 kyu
Binary multiple of 3
7,636
rsalgado
3 Issues Reported
Regular Expressions
Algorithms
Puzzles
Number Theory
4 kyu
Hamming Numbers
12,347
xcthulhu
4 Issues Reported
Number Theory
Algorithms
6 kyu
Shuffle It Up II
80
raulbc777
Algorithms
Performance
Number Theory
Recursion
Fundamentals
6 kyu
Carmichael Numbers
54
encrypted-oreo
Mathematics
Algorithms
Performance
Number Theory
5 kyu
Equivalent Dice
147
raulbc777
1 Issue Reported
Algorithms
Performance
Number Theory
Recursion
Fundamentals
6 kyu
Stern-Brocot Sequence Part I
340
erdos2n
Number Theory
Algorithms
Beta
Calculate Last Non-Zero Digit of Factorial [EX]
4
ZeroOf149
Status:
Testing & feedback needed
Estimated Rank:
3 kyu
Mathematics
Number Theory
Algorithms
Performance
6 kyu
Can you sum?
191
user8729270
Mathematics
Algorithms
Number Theory
Performance
5 kyu
Shuffle It Up
573
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Primes with Even Digits
906
raulbc777
Strings
Data Structures
Algorithms
Mathematics
Number Theory
5 kyu
Squarefree Part of a Number
292
mmmaaatttttt
1 Issue Reported
Mathematics
Number Theory
Algorithms
5 kyu
Combinations in a Set Using Boxes II
40
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Combinations in a Set Using Boxes
114
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
Memoization
Loading...
Confirm
Collect:
undefined
Loading collection data...