Largest int from concatenated ints: Difference between revisions
Content added Content deleted
(→{{header|J}}: Add J) |
(→{{header|Python}}: This also shows one of the few times where cmp= is better than key= on sorted()) |
||
Line 115: | Line 115: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
===Python: Sort on comparison of concatenated ints method=== |
===Python: Sort on comparison of concatenated ints method=== |
||
This also shows one of the few times where cmp= is better than key= on sorted() |
|||
<lang python>try: |
<lang python>try: |