Login Register






Challenge filter_list
Author
Message
RE: Challenge #11
(11-07-2018, 12:04 AM)chunky Wrote:
(11-02-2018, 03:46 PM)oxnan Wrote: nice one. How do you like this?
Code:
print '\n'.join("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or str(i) for i in range(1,101))
quite proud of this oneliner Smile
Kinda weird you came up with a solution that already has been public in 2013  Tongue
http://michaeljgilliland.blogspot.com/20...ython.html

You have been busted, lol Tongue
[Image: iQDVDdD.gif]

Reply





Messages In This Thread
Challenge - by casperandersen - 10-05-2018, 07:41 PM
RE: Challenge - by casperandersen - 10-05-2018, 07:43 PM
RE: Challenge - by Jimbo39238 - 10-05-2018, 11:01 PM
RE: Challenge - by casperandersen - 10-06-2018, 12:52 PM
RE: Challenge - by Vanfuzzy - 10-06-2018, 03:45 PM
RE: Challenge - by casperandersen - 10-06-2018, 07:56 PM
RE: Challenge - by slothic - 11-01-2018, 09:40 PM
RE: Challenge - by casperandersen - 11-02-2018, 03:46 PM
RE: Challenge - by slothic - 11-02-2018, 09:55 PM
RE: Challenge - by chunky - 11-07-2018, 12:04 AM
RE: Challenge - by Cr3aTor - 11-07-2018, 09:49 AM
RE: Challenge - by mothered - 11-07-2018, 10:38 AM
RE: Challenge - by casperandersen - 11-08-2018, 11:33 AM
RE: Challenge - by chunky - 11-07-2018, 04:06 PM
RE: Challenge - by blazza341 - 11-08-2018, 02:55 AM
RE: Challenge - by mothered - 11-08-2018, 03:52 AM