chevron_left chevron_right
Login Register invert_colors photo_library
Thread Rating:
  • 0 Vote(s) - 0 Average


filter_list Challenge
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

RE: Challenge #12
(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

Well picked up.

Unless It's purely coincidental, nothing Is gained by plagiarizing the work of others.
[Image: AD83g1A.png]

[+] 1 user Likes mothered's post
Reply

RE: Challenge #13
Well coming up with the same as the first Google result randomly would be a very big coincidence imo hehe
I actually don't even have any python knowledge at all but trying to execute this just results in a syntax error of the print function.

[Image: Wmoli17.png]
The stuff itself works tho

[Image: Oz5fE5G.png]

Reply

RE: Challenge #14
Unfortunately I do not own Python, but I would like to try....

Reply

RE: Challenge #15
(11-07-2018, 06:42 PM)headgaz Wrote: Unfortunately I do not own Python, but I would like to try....

It's quite a powerful language and not too difficult to learn.

There's countless online resources that guide you every step of the way from the very beginning, to the advanced stages.
[Image: AD83g1A.png]

Reply

RE: Challenge #16
Yeah Python is a good language though I'm still teaching myself the language.

Uh oh busted, with the handcuffs on
[Image: anime-png.jpg]

Reply

RE: Challenge #17
(11-08-2018, 02:55 AM)blazza341 Wrote: Yeah Python is a good language though I'm still teaching myself the language.

I'm not sure how far you're Into your learning process, but here's a few PDFs that cater for just about everything:

https://www.cs.uky.edu/~keen/115/Halterm...onbook.pdf
http://tdc-www.harvard.edu/Python.pdf
http://astronomi.erciyes.edu.tr/wp-conte...hansen.pdf
http://www.pallier.org/lectures/AIP2016/...to_pro.pdf
https://www.melbpc.org.au/wp-content/upl...7-days.pdf
[Image: AD83g1A.png]

Reply

RE: Challenge #18
(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

lel, did not even know that existed xD
thanks for sharing tho Smile i just use this type of oneliner for different scripts Smile
Bronze 7. October 2018
Silver 12. October 2018

Reply






Users browsing this thread: 1 Guest(s)