Time to fess up that I missed one really important use case in task 1. My code would print '0001' if the input was '1000', where it of course should have printed '1'. HT to Cheok-Yin Fung for putting it in her solution
github.com/E7-87-83/perlweeklychal...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Time to fess up that I missed one really important use case in task 1. My code would print '0001' if the input was '1000', where it of course should have printed '1'. HT to Cheok-Yin Fung for putting it in her solution
github.com/E7-87-83/perlweeklychal...