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
3
Arrays
4
Date Time
1
Debugging
1
Dynamic Programming
1
Fundamentals
3
Games
1
Geometry
1
Interpreters
1
Lists
1
Mathematics
1
Memoization
3
Object-oriented Programming
2
Parsing
1
Performance
1
Probability
1
Puzzles
1
Refactoring
24
Restricted
2
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
24 Kata Found
7 kyu
Time Converter: hours, minutes, seconds and milliseconds
1,138
srMarquinho
Date Time
Parsing
Refactoring
7 kyu
Balance the parentheses
775
SJFx
Refactoring
7 kyu
Refactored Greeting
11,960
jhoffner
2 Issues Reported
Object-oriented Programming
Refactoring
5 kyu
Refactor a node-based calculator (DRY)
128
FArekkusu
Refactoring
Object-oriented Programming
Restricted
6 kyu
One line task: Square Every Digit
1,121
Firefly2002
Puzzles
Games
Restricted
Refactoring
8 kyu
Be Concise I - The Ternary Operator
8,245
donaldsebleung
3 Issues Reported
Fundamentals
Refactoring
7 kyu
Rigged Dice
978
Scopula
Probability
Refactoring
4 kyu
Next bigger number with the same digits
39,273
GiacomoSorbi
5 Issues Reported
Strings
Refactoring
2 kyu
Power tower modulo m
330
ecolban
1 Issue Reported
Refactoring
2 kyu
Assembler interpreter (part II)
2,750
ShinuToki
4 Issues Reported
Interpreters
Refactoring
8 kyu
Well of Ideas - Easy Version
36,353
PG1
4 Issues Reported
Fundamentals
Arrays
Strings
Refactoring
6 kyu
Which are in?
82,435
g964
7 Issues Reported
Arrays
Lists
Strings
Refactoring
8 kyu
Is n divisible by x and y?
130,289
naaz
1 Issue Reported
Refactoring
4 kyu
N Linear
511
coryshrmn
Algorithms
Mathematics
Refactoring
8 kyu
Be Concise IV - Index of an element in an array
8,442
donaldsebleung
4 Issues Reported
Refactoring
4 kyu
Memoized Log Cutting
1,488
AlejandorLazaro
Dynamic Programming
Memoization
Refactoring
7 kyu
Working with arrays I (and why your code fails in some katas)
5,179
Chrono79
1 Issue Reported
Fundamentals
Arrays
Refactoring
5 kyu
Paginating a huge book
1,842
hexafraction
Performance
Refactoring
6 kyu
[Geometry A-1.1] Modify point location detector to handle zero-length vectors and precision errors [DRY]
67
MMMAAANNN
Geometry
Refactoring
8 kyu
Vexing Vanishing Values
3,354
Kacarott
Debugging
Refactoring
5 kyu
Memoized Fibonacci
23,694
edalorzo
1 Issue Reported
Memoization
Refactoring
7 kyu
Working with arrays II (and why your code fails in some katas)
1,316
Chrono79
Refactoring
Arrays
5 kyu
Ulam Sequences (performance edition)
124
Blind4Basics
Algorithms
Refactoring
3 kyu
Unique digit sequence II - Optimization problem
92
Blind4Basics
Memoization
Refactoring
Algorithms
Confirm
Collect:
undefined
Loading collection data...