The Tower of Hanoi hole will go live in approximately 8 hours. Why not try and solve it ahead of time?
Tower of Hanoi in Python in bytes. Achievements Cheevos Holes Languages Medals Miscellaneous All Holes 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Tower of Hanoi Turtle Tutorial All Languages ><> Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig 05AB1E ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Bytes Chars Scoring Bytes Chars Language All ><> Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig Experimental Language 05AB1E ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Hole All 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Experimental Hole Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Tower of Hanoi Turtle Tutorial # Golfer Points Bytes Time Submitted 1st khvdm 0 52 11ms 30 Oct 2025 1st pardouin 🇫🇷 0 52 11ms 1 Nov 2025 1st Seek64 🇩🇪 0 52 11ms 13 days ago 1st sunleonid 0 52 12ms 43 hours ago 5th xnor-gate 0 54 11ms 32 hours ago 5th hellopir2 0 54 12ms 30 hours ago 7th stefangimmillaro 0 55 13ms 30 Oct 2025 7th bricknellj 0 55 11ms 30 Oct 2025 7th ovs-code 🇩🇪 0 55 11ms 31 Oct 2025 7th bitsandbeyond 🇳🇱 0 55 11ms 1 Nov 2025 7th GolfingSuccess 🇬🇷 0 55 11ms 27 days ago 7th Mukundan314 0 55 11ms 15 days ago 7th lukegustafson 🇺🇸 0 55 12ms 6 days ago 7th m-tkach 🇺🇦 0 55 11ms 6 days ago 7th CornerMercury 🇬🇧 0 55 12ms 20 hours ago 16th AlephSquirrel 0 56 11ms 30 Oct 2025 16th hallvabo 🇳🇴 0 56 11ms 30 Oct 2025 16th bizy-coder 0 56 11ms 3 days ago 16th ndren 0 56 11ms 20 hours ago 20th kg583 🇺🇸 0 57 11ms 30 Oct 2025 20th KasperKivimaeki 🇫🇮 0 57 11ms 30 Oct 2025 20th edsrzf 🇳🇿 0 57 11ms 31 Oct 2025 20th Shanethegamer 🇺🇸 0 57 11ms 27 days ago 20th 4atj 0 57 11ms 25 days ago 20th MeWhenI 🇻🇦 0 57 11ms 9 days ago 20th CaedenHarper 🇨🇦 0 57 11ms 36 hours ago 20th blaztoma 🇱🇹 0 57 11ms 4 hours ago 28th rucin93 🇵🇱 0 58 12ms 30 Oct 2025 29th davecame 0 59 11ms 17 days ago 29th Kacarott 🇦🇺 0 59 11ms 14 days ago 29th emgordon154 0 59 11ms 6 days ago 29th commandblockguy 🇺🇸 0 59 11ms 2 days ago 29th dokutan 0 59 11ms 2 days ago 29th luuumine 🇫🇷 0 59 11ms 47 hours ago 29th snoozingnewt 🇺🇸 0 59 11ms 44 hours ago 29th FortuiteMan 🇫🇷 0 59 11ms 41 hours ago 37th 5cw 🇺🇸 0 60 11ms 14 days ago 38th albanian-laundromat 0 61 11ms 7 days ago 39th DialFrost 🇸🇬 0 70 18ms 30 Oct 2025 39th cros107 🇦🇺 0 70 11ms 18 days ago 41st duckyluuk 🇳🇱 0 73 10ms 30 Oct 2025 41st anter69 🇭🇺 0 73 11ms 20 days ago 41st ahmetdemirag 🇨🇾 0 73 11ms 44 hours ago 41st Yewzir 🇧🇪 0 73 11ms 49 mins ago 45th Babafaba 0 74 11ms 9 days ago 45th JOrE20 🇺🇸 0 74 11ms 8 days ago 45th HumanoidCPU 0 74 11ms 34 hours ago 45th TheZwierzLF 🇵🇱 0 74 11ms 17 hours ago 45th BREMAUCY 🇫🇷 0 74 11ms 6 hours ago 50th Ripick 0 76 10ms 15 days ago 51st mousetail 🇳🇱 0 77 11ms 7 days ago 52nd msbranicky 0 79 10ms 4 days ago 53rd starfihs 0 80 11ms 30 hours ago 54th KatieLG 🇬🇧 0 245 10ms 4 hours ago 55th Emutis 🇱🇹 0 3,589 11ms 39 mins ago 1–55 of 55