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
44
Algebra
23
Algorithms
447
Arrays
484
Backend
1
Binary
36
Binary Search Trees
1
Binary Trees
2
Bits
22
Ciphers
19
Combinatorics
10
Concurrency
1
Cryptography
21
Data Frames
4
Data Science
15
Data Structures
142
Databases
1
Date Time
26
Debugging
14
Decorator
1
Design Patterns
12
Discrete Mathematics
2
Dynamic Programming
7
Esoteric Languages
3
Event Handling
1
Filtering
3
Flask
1
Functional Programming
39
Fundamentals
2626
Game Solvers
2
Games
43
Genetic Algorithms
2
Geometry
61
Graph Theory
8
Graphs
1
Heaps
1
Interpreters
2
Iterators
5
JSON
2
Language Features
4
Linear Algebra
6
Linked Lists
11
Lists
116
Logic
98
Machine Learning
1
Mathematics
440
Matrix
27
Memoization
12
Metaprogramming
2
MongoDB
1
Networks
8
NumPy
2
Number Theory
19
Object-oriented Programming
45
Parsing
22
Performance
49
Permutations
19
Physics
2
Probability
9
Puzzles
81
Queues
2
Recursion
30
Refactoring
3
Reflection
1
Regular Expressions
154
Restricted
20
Riddles
1
SQL
1
Searching
2
Security
7
Sets
4
Simulation
1
Sorting
77
State Machines
4
Statistics
11
Strings
592
Threads
1
Trees
2
Tutorials
8
Unicode
1
Web Scraping
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
2,626 Kata Found
6 kyu
Count the divisible numbers
3,418
joh_pot
1 Issue Reported
Fundamentals
Algorithms
6 kyu
What's A Name In?
3,814
crimbus
4 Issues Reported
Fundamentals
7 kyu
Unique Sum
4,126
Alpri Else
Lists
Logic
Filtering
Fundamentals
7 kyu
How many times should I go?
3,751
nbeck
1 Issue Reported
Fundamentals
7 kyu
Genetic Algorithm Series - #1 Generate
3,655
gabrielsiedler
2 Issues Reported
Strings
Fundamentals
Genetic Algorithms
Algorithms
6 kyu
Sum of prime-indexed elements
2,892
KenKamau
1 Issue Reported
Lists
Fundamentals
7 kyu
Pairs of integers from 0 to n
1,939
buttonupbub
Fundamentals
8 kyu
Grasshopper - Terminal game move function
78,889
danleavitt0
Fundamentals
8 kyu
Sum Arrays
203,419
richardhsu
4 Issues Reported
Arrays
Fundamentals
7 kyu
Driving Licence
4,063
adrian.eyre
4 Issues Reported
Strings
Arrays
Fundamentals
7 kyu
Simple letter removal
3,143
KenKamau
1 Issue Reported
Fundamentals
7 kyu
Do you speak retsec?
2,977
rrolt
Fundamentals
6 kyu
Array combinations
2,760
KenKamau
Fundamentals
Combinatorics
7 kyu
Hit Count
3,501
glenoakes
3 Issues Reported
Arrays
Fundamentals
6 kyu
Duplicates. Duplicates Everywhere.
2,582
bretcameron
Arrays
Sets
Sorting
Fundamentals
7 kyu
Calculate Two People's Individual Ages
3,487
AseelM
Fundamentals
Algorithms
Arrays
8 kyu
Add new item (collections are passed by reference)
6,726
aryan-firouzian
4 Issues Reported
Fundamentals
8 kyu
Age Range Compatibility Equation
10,155
AcesOfGlory
1 Issue Reported
Fundamentals
7 kyu
Double Trouble
3,796
PG1
1 Issue Reported
Fundamentals
Arrays
5 kyu
Write out numbers
3,521
frenetic_be
Fundamentals
7 kyu
Help the Fruit Guy
7,932
user3028132
3 Issues Reported
Arrays
Strings
Fundamentals
4 kyu
Explosive Sum
9,146
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
7 kyu
Digits explosion
18,601
angellaa
Strings
Regular Expressions
Fundamentals
6 kyu
Range function
1,498
wichu
3 Issues Reported
Fundamentals
6 kyu
Fruit Machine
3,593
adrian.eyre
1 Issue Reported
Arrays
Games
Fundamentals
7 kyu
Geometric Progression Sequence
3,417
baaart
4 Issues Reported
Fundamentals
8 kyu
Color Ghost
20,925
ogryzek
8 Issues Reported
Object-oriented Programming
Fundamentals
7 kyu
Check if a triangle is an equable triangle!
2,954
iamchingel
2 Issues Reported
Fundamentals
Geometry
7 kyu
Baby shark lyrics generator
2,835
albertogcmr
1 Issue Reported
Strings
Lists
Fundamentals
Restricted
6 kyu
Simple Simple Simple String Expansion
3,843
alansun
1 Issue Reported
Strings
Regular Expressions
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...