Skip to main content

Timeline for Visualize a large int

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Oct 11, 2019 at 11:41 comment added Dorian I know, but I can't remove it, because the code would cut off the number after 12 digits. It builds a list that looks like this: ["P1", "T234", "G567", "M890", "k123"]. Then it deletes the first letter. When I remove the "P", it can't fill the "P1" string.
Oct 11, 2019 at 11:25 comment added Arnauld As you noticed above, P is not required.
Oct 11, 2019 at 11:10 history edited Dorian CC BY-SA 4.0
shorter code
Oct 11, 2019 at 11:03 comment added Kevin Cruijssen You can change the JJ to S (which implicitly flattens) to output as a list of characters instead of a string, which is allowed when a string output is asked by default. (You could add a J in the footer if you want to pretty-print it.)
Oct 11, 2019 at 10:51 history answered Dorian CC BY-SA 4.0