Skip to main content
12 events
when toggle format what by license comment
Nov 17, 2020 at 13:47 history edited Noodle9 CC BY-SA 4.0
added 2 characters in body
Nov 17, 2020 at 13:39 comment added Noodle9 @ovs Nice one - thanks! :-)
Nov 17, 2020 at 13:39 history edited Noodle9 CC BY-SA 4.0
added 43 characters in body
Nov 17, 2020 at 12:46 comment added ovs You can save another 2 bytes by modifying the input list instead of returning a new one: def f(s):s.sort(key=...).
Nov 17, 2020 at 11:28 comment added Noodle9 @ovs Very nice - thanks! :D
Nov 17, 2020 at 11:27 history edited Noodle9 CC BY-SA 4.0
added 92 characters in body
Nov 17, 2020 at 10:56 comment added ovs Your key function can be shortened to lambda k:[*map("CcJOoSsUabDdefGghjLlnPpQqrTtuVvXxyABFHIiKkNRYZzEMmWw".find,k)].
Nov 17, 2020 at 10:49 history edited Noodle9 CC BY-SA 4.0
added 6 characters in body
Nov 17, 2020 at 10:36 history edited Noodle9 CC BY-SA 4.0
added 47 characters in body
Nov 17, 2020 at 10:30 history edited Noodle9 CC BY-SA 4.0
added 47 characters in body
Nov 17, 2020 at 1:38 history edited Noodle9 CC BY-SA 4.0
added 952 characters in body
Nov 17, 2020 at 1:32 history answered Noodle9 CC BY-SA 4.0