Timeline for Is it a digit haiku?
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 20, 2020 at 11:38 | comment | added | lynn | I'm always conflicted about this output case: returning a truthy/falsey value from a function feels OK, but when printing from a full-program, it's like the value "leaves the Python world and becomes a string in the OS world", where Python's concept of truthy/falsey doesn't exist anymore. So, for full programs, I think "two constant distinguishing outputs" makes more sense. But deciding by exit code is fine too, so maybe you can finish with t/0. | |
| Oct 20, 2020 at 8:54 | history | edited | xnor | CC BY-SA 4.0 | edited body |
| Oct 20, 2020 at 8:41 | history | edited | xnor | CC BY-SA 4.0 | deleted 2 characters in body |
| Oct 20, 2020 at 8:18 | history | edited | xnor | CC BY-SA 4.0 | added 698 characters in body |
| Oct 20, 2020 at 2:54 | history | edited | xnor | CC BY-SA 4.0 | deleted 2 characters in body |
| Oct 20, 2020 at 2:46 | history | edited | xnor | CC BY-SA 4.0 | added 487 characters in body |
| Oct 20, 2020 at 2:28 | history | edited | xnor | CC BY-SA 4.0 | deleted 1 character in body |
| Oct 20, 2020 at 2:17 | history | edited | xnor | CC BY-SA 4.0 | added 40 characters in body |
| Oct 20, 2020 at 2:07 | comment | added | xnor | @HyperNeutrino Thanks, I had missed that a list of digits was allowed. This might allow further improvements. | |
| Oct 20, 2020 at 2:05 | comment | added | hyperneutrino♦ | -3 bytes if you input as numbers and use (mod 7) to check the numbers | |
| Oct 20, 2020 at 1:57 | history | answered | xnor | CC BY-SA 4.0 |