+ 16

CHALLENGE: How short can your fizzbuzz be?

Make a fizzbuzz ( [0 or 1] up to 100 ) with as fewer characters as you can with the language you like. Every single number(or fizz-buzz'es) should be printed a new line. Whitespaces do not count. Imports, Includes and structural code do not count. Write down the language that is used and how many characters are used and a link to your code. if you are lazy (as I am) use https://charactercounttool.com Common guys, we are looking for the shortest fizzbuzz in every language.)

16th Jan 2018, 11:57 AM
Serge Gerodes
Serge Gerodes - avatar
40 ответов
+ 12
56 python, 61 ruby! ruby: https://code.sololearn.com/cPXR0ziSO3H3/#rb 1) @bedawang refactoring your code it is now 69.:) 2) 61 ! https://code.sololearn.com/cPXR0ziSO3H3/#rb working with bedawang (https://code.sololearn.com/czhL2PXpOSu0/#rb) python: https://code.sololearn.com/cn6fJ65with0/#py 1) @Sebastián Zapata using your Idea and my combined it is now 64!) 2) now it is 61 chars too! 3) 56! https://code.sololearn.com/cn6fJ65with0/#py with ideas from Вадим Сухотин (Vadim Sukhotin)
16th Jan 2018, 11:45 AM
Serge Gerodes
Serge Gerodes - avatar
18th Jan 2018, 10:29 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 11
https://code.sololearn.com/WHpfi9uI3LOP/?ref=app sloppiest fizzbuzz ever characters (without spaces) 170 Readability level:COLLEGE GRADUATE!!!
18th Jan 2018, 1:15 AM
Theprogrammers
Theprogrammers - avatar
17th Jan 2018, 8:44 AM
Oma Falk
Oma Falk - avatar
18th Jan 2018, 1:36 AM
David Ashton
David Ashton - avatar
+ 8
https://code.sololearn.com/cM11mvCt066X/?ref=app
7th Feb 2018, 11:28 PM
D_Stark
D_Stark - avatar
8th Feb 2018, 4:11 AM
Ferhat Sevim
Ferhat Sevim - avatar
+ 6
@Sebastián Zapata nice try. I like it. I did it even smaller. @bedawang yours looks really cool too.) python 65 characters ☺ one line https://code.sololearn.com/cn6fJ65with0/#py
16th Jan 2018, 10:51 AM
Serge Gerodes
Serge Gerodes - avatar
+ 6
@kurwius ok http://bfy.tw/40K
17th Jan 2018, 1:27 PM
Oma Falk
Oma Falk - avatar
+ 6
https://code.sololearn.com/cif3VbmKIZtV/?ref=app without if😅😅 77 character in python
31st Jul 2019, 7:01 PM
Oma Falk
Oma Falk - avatar
16th Jan 2018, 10:57 AM
Serge Gerodes
Serge Gerodes - avatar
+ 4
https://code.sololearn.com/ccV1GvTrM7U3/?ref=app 107 characters xD, it must be best ways to short them, ty for the challenge, I'll try to think a bit more.
16th Jan 2018, 8:30 AM
Sebastián Zapata
Sebastián Zapata - avatar
16th Jan 2018, 9:46 AM
Louis
Louis - avatar
+ 4
@bedawang Ternary operators are cool. But the ternary in python is longer (" if else" vs "? :")
16th Jan 2018, 11:46 AM
Serge Gerodes
Serge Gerodes - avatar
+ 4
104 with my first attempt in Java EDIT; 91 now: https://code.sololearn.com/cJFQriZS89N8/?ref=app
17th Jan 2018, 3:54 AM
LunarCoffee
LunarCoffee - avatar
+ 4
what the hell is fizzbuzz? I sware I have no clue. could one tell me in a few sentences? sure i ll get some downvotes but it is worth the answer
17th Jan 2018, 8:10 AM
Oma Falk
Oma Falk - avatar
17th Jan 2018, 4:06 PM
...
+ 3
I ask myself if we could save one or two characters using the fact that both words ending on "zz".
16th Jan 2018, 11:40 AM
Serge Gerodes
Serge Gerodes - avatar
+ 3
who needs if or modulo in Fizzbuzz? 😁😁 https://code.sololearn.com/cWgstvtcaseD/?ref=app
1st Aug 2019, 8:24 AM
Oma Falk
Oma Falk - avatar
+ 2
https://code.sololearn.com/c1mEA58qTfe2/?ref=app
16th Jan 2018, 8:36 AM
Вадим Сухотин (Vadim Sukhotin)
Вадим Сухотин (Vadim Sukhotin) - avatar