1 stable release
1.0.0 | Jun 21, 2022 |
---|
#33 in #digits
600KB
58 lines
digit-loops
Description
Rust library for finding out how many loops there are in a given string of digits
Inspired by this puzzle found somewhere on Facebook:
Usage
use digit_loops;
digit_loops::number_of_loops_in_number("8888");
// => 8