best="""for i in range(1,101):print'Fizz'*(i%3<1)+'Buzz'*(i%5<1)or i""" str="""for n in range(1,101):print(((n%3<1 and 'Fizz')or'')+((n%5<1 and 'Buzz')or''))or n""" exec str print "length of the code:", len(str) print "length of the best:", len(best)
bestのコードはすごいね。60バイト。つーか*(アスタリスク)で論理積になるなんて知らねーよ普通(もしかして常識?)。
(追記)
56バイトという超人がイタ。