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
20
Arrays
2
Cellular Automata
1
Combinatorics
1
Cryptography
1
Date Time
1
Functional Programming
4
Fundamentals
20
Games
4
Geometry
2
Language Features
2
Lists
2
Logic
3
Mathematics
39
Matrix
3
Number Theory
2
Object-oriented Programming
1
Parsing
1
Performance
4
Probability
1
Puzzles
45
Refactoring
2
Regular Expressions
4
Restricted
113
Statistics
1
Strings
17
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
113 Kata Found
6 kyu
[Code Golf] Dreidel dreidel
43
anter69
Restricted
Beta
String Splice without "[]"
30
Owegt
2 Issues Reported
Status:
Testing & feedback needed
Estimated Rank:
7 kyu
Restricted
Beta
[Code Golf] Exclamation marks series #18
9
anter69
Status:
Awaiting approval
Estimated Rank:
6 kyu
Restricted
6 kyu
File Path Operations
1,735
user2514386
3 Issues Reported
Fundamentals
Strings
Restricted
6 kyu
[Code Golf] Uppercase or Lowercase, Backward or Forward?
59
LanXnHn
Restricted
Strings
7 kyu
No ifs no buts
3,205
MichaelSel
Restricted
Fundamentals
Beta
[Code Golf] The final countdown?
9
mauro-1
Status:
Ranking feedback needed
Estimated Rank:
6 kyu
Fundamentals
Restricted
6 kyu
[Code Golf] CSS Colors Regex
44
anter69
Regular Expressions
Restricted
5 kyu
Shortest Code: Collatz Array(Split or merge)
78
myjinxin2015
Puzzles
Games
Restricted
5 kyu
Refactor a node-based calculator (DRY)
128
FArekkusu
Refactoring
Object-oriented Programming
Restricted
7 kyu
[Code Golf] Chemical Elements Regex
78
anter69
Regular Expressions
Restricted
6 kyu
One line task: Square Every Digit
1,122
Firefly2002
Puzzles
Games
Restricted
Refactoring
7 kyu
[Code Golf] Compare Two Numbers
134
uttumuttu
Restricted
4 kyu
Golf [Code Golf]
41
Dr Gabo
Restricted
Algorithms
Beta
One Line Task - Travelling Salesman Problem
6
encrypted-oreo
Status:
Ranking feedback needed
Estimated Rank:
5 kyu
Restricted
Algorithms
8 kyu
Name on billboard
20,381
val_alex
5 Issues Reported
Fundamentals
Restricted
Strings
5 kyu
[Code Golf] Fill matrix with a zigzag
56
AndreyMaksimov
1 Issue Reported
Matrix
Algorithms
Restricted
4 kyu
One Line Task: Palindrome String
776
myjinxin2015
1 Issue Reported
Puzzles
Restricted
7 kyu
isEven? - Bitwise Series
1,899
MichaelSel
1 Issue Reported
Restricted
Fundamentals
7 kyu
Finding Remainder Without Using '%' Operator
2,700
DivyanshBatham
1 Issue Reported
Mathematics
Restricted
Algorithms
7 kyu
Baby shark lyrics generator
2,683
albertogcmr
2 Issues Reported
Strings
Lists
Fundamentals
Restricted
7 kyu
MOD 256 without the MOD operator
3,263
user5036852
3 Issues Reported
Algorithms
Fundamentals
Logic
Mathematics
Restricted
Puzzles
6 kyu
Simple Sum (with restrictions)
209
A.Freeman
1 Issue Reported
Puzzles
Restricted
5 kyu
[Code Golf] Counting Parallelograms
27
dfhwze
Algorithms
Mathematics
Combinatorics
Geometry
Restricted
7 kyu
[Code Golf] - Oddity Count
67
MLYTC1
Mathematics
Algorithms
Restricted
Beta
[Code Golf] - Factorial
43
MLYTC1
Status:
Testing & feedback needed
Estimated Rank:
7 kyu
Mathematics
Algorithms
Restricted
7 kyu
[Code Golf] - DigProd
66
MLYTC1
Mathematics
Algorithms
Restricted
5 kyu
Fibonacci With a Broken Interpreter
53
potzko
Puzzles
Restricted
4 kyu
One Line Task: Zero Or One
449
myjinxin2015
1 Issue Reported
Puzzles
Restricted
5 kyu
[Code Golf] Rice or Raise
30
uttumuttu
Mathematics
Restricted
Loading...
Confirm
Collect:
undefined
Loading collection data...