[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

IM driunkn guys can tyou do a fizzbuzz of dics like every number

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 3

IM driunkn guys

can tyou do a fizzbuzz of dics like every number div by 3 == a dick, div by 5 == balls, = div by both = balls and dicls
>>
top kek
>>
>>60620112
Sure stallman.

for x in {1..100};
do
{ (( x % 5 == 0 )) && (( x % 3 == 0 )) && echo "8===D"; } ||
{ (( x % 5 == 0 )) && echo "8"; } ||
{ (( x % 3 == 0 )) && echo "===D"; } ||

echo "$x"

done
>>
File: sad.jpg (746KB, 1701x1297px) Image search: [Google]
sad.jpg
746KB, 1701x1297px
javascript, i tried

for (var i = 0; i <= 100; i++) {
if (i % 3 === 0) {
console.log("pennis");
} else if (i % 5 === 0) {
console.log("dicc");
} else {
console.log(i);
}
}

console.log("and also Balls");
>>
>>60620260
>>60620349
thatis the spiriti
>>
>>60620112

$ sudo pip3 install fzzbzz
$ python3
>>> import fzzbzz
>>> fzzbzz(100)
>>
>>60620477
do it right you fuccboy
>>
op here


not that drunk anymore, just puked

lets goooo
>>
python -c "print('\n'.join(['%s %s' % (i, ''.join(['8','===D'][bool(i%5):1+int(not bool(i%3))]*bool(i))) for i in range(0,100)]))"
>>
>>60621619
actually could drop that int as well
>>
File: image.jpg (53KB, 599x510px) Image search: [Google]
image.jpg
53KB, 599x510px
>>60621619
This isn't beautiful code
>>
>>60621704
truth is beauty
Thread posts: 12
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.