miniblog.
← Back to all posts
Apr 1, 2014 at 10:21
#Python surprise of the day: `"1 in [1,2]: %s" % 1 in [1,2]`
Wilfred Hughes
Related Posts
Mar 23, 2014 at 11:01
#Python surprise of the day: `x = []; x.insert(999, "foo")` does not throw an error.
Wilfred Hughes
Shared words: Python, surprise, day Score: 39.3
Oct 20, 2011 at 23:44
#python surprise of the day: bool((False,)) => True
Wilfred Hughes
Shared words: Python, surprise, day Score: 39.3
Dec 12, 2015 at 18:46
JavaScript surprise of the day: [2] * 3 == 6.
Wilfred Hughes
Shared words: surprise, day Score: 19.5