N Queens 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 Tower of Hanoi 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 Multitap Input NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers 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 Tower of Hanoi 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 Multitap Input NFA Simulator Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial # Golfer Points Bytes Time Submitted 1st Lydxn 🇨🇦 1,000 103 485ms 3 May 2024 1st m-tkach 🇺🇦 1,000 103 517ms 5 May 2024 1st 4atj 1,000 103 474ms 30 Jun 2025 4th btnlq 990 104 30ms 1 May 2024 4th 5cw 🇺🇸 990 104 306ms 3 May 2024 6th nwellnhof 🇩🇪 954 108 35ms 14 May 2024 7th Steffan153 🇫🇮 945 109 17ms 2 May 2024 7th ovs-code 🇩🇪 945 109 753ms 2 May 2024 9th pardouin 🇫🇷 928 111 22ms 3 Jul 2025 9th bizy-coder 928 111 506ms 11 days ago 11th Mukundan314 920 112 109ms 15 Apr 2025 12th edsrzf 🇳🇿 912 113 11ms 28 Jul 2025 13th sean-niemann 🇺🇸 904 114 490ms 3 Feb 2025 14th bricknellj 888 116 13ms 13 May 2024 15th kg583 🇺🇸 880 117 806ms 27 Jul 2025 16th duckyluuk 🇳🇱 858 120 20ms 1 May 2024 16th zacjl 858 120 20ms 4 May 2024 16th SirBogman 🇺🇸 858 120 17ms 20 May 2024 19th bzijlema 🇳🇱 851 121 19ms 16 Jul 2025 20th stefangimmillaro 844 122 37ms 22 May 2024 21st StefanHabel 🇨🇦 831 124 14ms 4 May 2024 21st MeWhenI 🇻🇦 831 124 13ms 17 Jul 2025 21st Seek64 🇩🇪 831 124 13ms 20 Jul 2025 24th hallvabo 🇳🇴 824 125 11ms 6 May 2024 25th agreegious 798 129 15ms 16 Mar 2025 25th cros107 🇦🇺 798 129 16ms 19 Apr 2025 27th ImpressedByRocks 786 131 15ms 15 May 2024 27th davecame 786 131 12ms 29 Aug 2024 29th CornerMercury 🇬🇧 780 132 11ms 14 days ago 30th ahmetdemirag 🇨🇾 741 139 22ms 7 Mar 2025 31st lifthrasiir 🇰🇷 730 141 27ms 21 Nov 2024 32nd ryyyn 🇺🇸 725 142 82ms 24 Jan 2025 32nd emgordon154 725 142 11ms 10 Nov 2025 34th FlorianCassayre 🇫🇷 715 144 47ms 14 May 2024 35th albanian-laundromat 705 146 20ms 29 Sep 2025 35th KasperKivimaeki 🇫🇮 705 146 14ms 13 hours ago 37th Alex-x90 🇺🇸 701 147 15ms 6 May 2024 38th DialFrost 🇸🇬 696 148 59ms 4 May 2024 38th MichalMarsalek 🇨🇿 696 148 155ms 8 Aug 2024 38th plcc0 696 148 33ms 4 Oct 2025 41st thienudomsrirungruang 691 149 39ms 3 May 2024 41st jacekwladzinski 691 149 35ms 5 Oct 2025 43rd MostParsingVex 687 150 63ms 17 Aug 2024 43rd snydej 687 150 16ms 21 Nov 2024 43rd zhaohm14 687 150 10ms 24 Jul 2025 43rd CaedenHarper 🇨🇦 687 150 19ms 24 Jul 2025 47th BREMAUCY 🇫🇷 682 151 47ms 22 Aug 2025 47th ndren 682 151 19ms 11 days ago 49th lynn 678 152 71ms 8 May 2024 49th anter69 🇭🇺 678 152 68ms 31 Aug 2025 49th qpwoeirut 678 152 23ms 1 Sep 2025 49th snoozingnewt 🇨🇦 678 152 61ms 17 days ago 53rd fourth-bit 673 153 66ms 30 Sep 2024 54th dokutan 669 154 31ms 21 Jun 2024 54th KatieLG 🇬🇧 669 154 34ms 8 May 2025 54th blaztoma 🇱🇹 669 154 58ms 28 Oct 2025 57th AlephSquirrel 665 155 39ms 1 May 2024 57th inventshah 665 155 36ms 1 May 2024 57th vgamula 🇺🇦 665 155 20ms 13 May 2024 57th Bulmenisaurus 665 155 88ms 28 Jul 2024 57th andrewjc2000 665 155 102ms 7 Jul 2025 57th InigoK 🇺🇸 665 155 36ms 23 Aug 2025 57th commandblockguy 🇺🇸 665 155 56ms 1 Sep 2025 64th neihousaigaai 656 157 37ms 29 Sep 2024 64th Babafaba 656 157 59ms 25 Oct 2025 66th jtaxen 652 158 30ms 2 May 2024 67th Shanethegamer 🇺🇸 648 159 41ms 1 May 2024 67th jatloe 648 159 37ms 11 May 2024 69th GolfingSuccess 🇬🇷 644 160 59ms 1 May 2024 69th mathisfun271 644 160 52ms 3 Oct 2024 71st annaproxy 640 161 44ms 7 May 2024 72nd yuchuehw 636 162 33ms 13 May 2024 72nd Flekay 🇩🇪 636 162 33ms 11 Jul 2025 74th YAJUE114514 632 163 13ms 24 Aug 2025 75th HumanoidCPU 620 166 30ms 30 Oct 2024 1–75 of 136 Next Last