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
25
Combinatorics
5
Cryptography
1
Data Structures
2
Discrete Mathematics
1
Dynamic Programming
2
Fundamentals
2
Logic
1
Machine Learning
4
Mathematics
25
Memoization
2
Number Theory
25
Performance
14
Permutations
2
Recursion
2
Set Theory
1
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
25 Kata Found
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
490
raulbc777
1 Issue Reported
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Jump to zero (Subtask 4)
60
TLEojxSunlight
1 Issue Reported
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
5 kyu
Generate Numbers From Digits #2
111
raulbc777
Fundamentals
Logic
Strings
Data Structures
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
k-Primes
3,117
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)
13
TLEojxSunlight
Mathematics
Algorithms
Dynamic Programming
Performance
Number Theory
4 kyu
The smallest number with a given number of divisors
164
user8729270
Mathematics
Recursion
Algorithms
Number Theory
Performance
6 kyu
Greatest common divisor as linear combination
123
IttayWeiss
Algorithms
Mathematics
Number Theory
Cryptography
2 kyu
Pisano Period - Performance Edition
83
topologoanatom
1 Issue Reported
Performance
Mathematics
Number Theory
Algorithms
6 kyu
Carmichael Numbers
54
encrypted-oreo
Mathematics
Algorithms
Performance
Number Theory
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
575
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Primes with Even Digits
911
raulbc777
Strings
Data Structures
Algorithms
Mathematics
Number Theory
5 kyu
Squarefree Part of a Number
294
mmmaaatttttt
1 Issue Reported
Mathematics
Number Theory
Algorithms
5 kyu
Combinations in a Set Using Boxes II
41
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Combinations in a Set Using Boxes
115
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
Memoization
3 kyu
The smallest n such that n^n mod m = 0
65
user8729270
1 Issue Reported
Mathematics
Algorithms
Number Theory
Performance
3 kyu
Prime counting
80
user8729270
Mathematics
Recursion
Algorithms
Memoization
Performance
Number Theory
5 kyu
Counting the Webdesigns based on Used Colours
95
raulbc777
1 Issue Reported
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
3 kyu
My favorite number is III, so...
39
user8729270
Mathematics
Algorithms
Number Theory
Performance
3 kyu
Totally Good Permutations
47
benjaminzwhite
Algorithms
Mathematics
Combinatorics
Discrete Mathematics
Strings
Set Theory
Number Theory
5 kyu
Right Truncatable Harshad numbers
92
anter69
Mathematics
Number Theory
Algorithms
4 kyu
Bernoulli numbers
265
JustyFY
2 Issues Reported
Fundamentals
Mathematics
Number Theory
Algorithms
Confirm
Collect:
undefined
Loading collection data...