Happy Numbers 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 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 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 599th SURAJMITTAL 440 141 9ms 20 Dec 2024 602nd ChristophJud 437 142 9ms 11 Aug 2020 602nd ESOrSomething 437 142 10ms 29 Sep 2025 604th RoscoeSmith 434 143 11ms 14 Sep 2022 605th SimonPeatman 431 144 19ms 2 Feb 2019 605th pde-bakk 🇳🇱 431 144 11ms 23 Oct 2023 607th CRHillman 428 145 17ms 17 Aug 2018 607th ethandhunt 428 145 10ms 29 Jul 2021 609th KiwiKoder0123 425 146 17ms 24 Jun 2019 609th KatieLG-Transpiler 🇬🇧 425 146 11ms 23 Jun 2022 609th twocatsinatrenchcoat 425 146 11ms 18 Nov 2022 609th fraserli 🇦🇺 425 146 22ms 17 Feb 2023 609th zt14427 425 146 9ms 4 Mar 2023 609th Schmitt-Very-Cool 425 146 10ms 3 Apr 2024 615th potato-jackson 422 147 17ms 10 Sep 2021 615th Florian-Mt 422 147 23ms 26 Sep 2023 617th Mojken 419 148 19ms 2 Sep 2018 618th snickercop 416 149 11ms 6 Aug 2019 618th cingulataluke 416 149 10ms 28 Aug 2023 620th ionutm82 413 150 13ms 22 Feb 2019 621st dahrens 411 151 11ms 7 Jul 2019 622nd fepe55 408 152 11ms 21 Sep 2018 623rd ari-gutierrez 400 155 32ms 22 Oct 2018 624th Spi3lot 395 157 10ms 18 Sep 2021 624th MarioPlq 395 157 11ms 24 Jun 2022 624th OppositeShark 395 157 11ms 19 Jul 2022 627th ridingqwerty 🇺🇸 392 158 11ms 6 Dec 2023 627th j3mak 392 158 13ms 16 Jan 2024 629th qewdweftr4g 390 159 10ms 16 Oct 2024 630th rajlath 388 160 10ms 9 Apr 2018 631st peculiarination 383 162 16ms 11 May 2021 631st Ugoran 383 162 11ms 1 Dec 2022 633rd Ty-Cyr 380 163 10ms 13 Jul 2023 634th tbadun 378 164 15ms 8 Oct 2022 634th Natz12 378 164 11ms 27 Jan 2023 636th Pimveha 376 165 17ms 11 Jan 2023 637th EB-Brown 373 166 11ms 23 Aug 2019 638th tombs4 369 168 13ms 8 Jun 2020 639th YoungjuneKwon 365 170 11ms 6 Dec 2018 640th hotmanga 363 171 10ms 7 Nov 2023 640th xbxbxb007 363 171 10ms 10 Jan 2024 642nd janga1 360 172 22ms 12 Aug 2021 642nd GitQuick 360 172 12ms 9 Mar 2024 644th chriscconte 358 173 10ms 16 Apr 2019 644th jjbvtk 358 173 14ms 3 Sep 2021 646th skps2010 344 180 9ms 4 Jan 2019 646th devRND-ess 344 180 15ms 30 Apr 2020 646th GlennHA 344 180 10ms 15 May 2021 646th theunofficialcoder 344 180 13ms 12 Jan 2024 650th willzywiec 343 181 11ms 5 Aug 2018 650th Unknownuserfrommars 343 181 14ms 20 Nov 2024 652nd zuparnowa 341 182 17ms 23 Jan 2019 652nd henrytranter 341 182 18ms 20 Sep 2019 654th dylanjones92 337 184 11ms 17 Jan 2024 655th shinylego 335 185 11ms 19 Oct 2022 656th Aniketgautam 330 188 10ms 6 Apr 2018 656th schmisev 330 188 10ms 11 Oct 2018 656th alfonsoalves 330 188 10ms 27 Feb 2024 659th Bananapants22 328 189 12ms 16 Aug 2022 660th jmmographer 326 190 17ms 20 Oct 2023 661st AbuzarN 323 192 11ms 4 Oct 2023 662nd rohan335 316 196 10ms 24 Jul 2024 663rd newc0m 305 203 18ms 7 Dec 2018 664th Upload-and-View 🇺🇦 304 204 10ms 9 Aug 2025 665th ariesmarinus 298 208 12ms 3 Dec 2024 666th itljan30 287 216 10ms 6 Oct 2024 667th janedoloris 283 219 9ms 14 Feb 2021 667th RobinStevenMartinez 283 219 10ms 27 Aug 2021 667th atazzam 🇺🇸 283 219 11ms 2 Apr 2022 670th eje24 278 223 20ms 22 Jul 2020 671st BLD933 🇲🇦 273 227 11ms 2 Sep 2023 672nd kevinnaviapaiva 272 228 10ms 13 Feb 2025 673rd DylanGodfrey 267 232 11ms 5 Jun 2018 674th clodalala 265 234 12ms 13 Nov 2019 675th dens558 262 237 11ms 25 May 2019 First Prev 601–675 of 700 Next Last