Skip to main content

Timeline for Tips for golfing in Python

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Mar 3, 2016 at 2:59 comment added Cyoce don't forget you can also get both the first and last element of a list with a,*_,b=L
Feb 20, 2015 at 2:36 history wiki removed Doorknob
Dec 6, 2014 at 12:06 history edited Jakube CC BY-SA 3.0
'or' instead of 'of'
Dec 6, 2014 at 9:23 history edited xnor CC BY-SA 3.0
added 411 characters in body
Dec 6, 2014 at 9:20 comment added Sp3000 @xnor That one's thanks to grc. With only one other element it's not as good (a,*L=1,), but it still saves one char :)
Dec 6, 2014 at 9:19 history edited Sp3000 CC BY-SA 3.0
added 15 characters in body
Dec 6, 2014 at 9:16 comment added xnor Wow! I have written a=1;L=[] so many times. It's amazing that you can save chars on something so straightforward as this.
Dec 2, 2014 at 15:17 history answered Sp3000 CC BY-SA 3.0