Timeline for Print random integers until 0
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 29, 2021 at 18:55 | history | edited | Xcali | CC BY-SA 4.0 | added 59 characters in body |
| Jan 29, 2021 at 16:28 | comment | added | Dom Hastings | @KjetilS. Ah nice, I didn't read the spec and made assumptions! Using $= works instead then: Try it online! | |
| Jan 29, 2021 at 15:08 | history | edited | Xcali | CC BY-SA 4.0 | added 4 characters in body |
| Jan 29, 2021 at 14:56 | comment | added | Kjetil S | @DomHastings - That doesn't output 0 at the end. Required by "The output should always end with 0". | |
| Jan 29, 2021 at 12:48 | comment | added | Dom Hastings | Nice one! You can save a couple more if you use $- too! Try it online! | |
| Jan 28, 2021 at 22:01 | history | edited | Xcali | CC BY-SA 4.0 | added 80 characters in body |
| Jan 28, 2021 at 16:48 | comment | added | Kjetil S | Shave a byte with say$_=0|rand 100until/^0/ Try it online! | |
| Jan 28, 2021 at 14:55 | history | answered | Xcali | CC BY-SA 4.0 |