diff --git a/subjects/digitlen/README.md b/subjects/digitlen/README.md index 6c6ade888..b85dc5db0 100644 --- a/subjects/digitlen/README.md +++ b/subjects/digitlen/README.md @@ -4,13 +4,13 @@ Write a function `DigitLen()` that takes two integers as arguments and returns the times the first `int` can be divided by the second until it reaches zero. -- The second `int` must be between ***2*** and ***36***. If not, the function returns `-1`. +- The second `int` must be between **_2_** and **_36_**. If not, the function returns `-1`. - If the first `int` is negative, reverse the sign and count the digits. ### Expected function ```go -func DigitLen(n,base int) int { +func DigitLen(n, base int) int { } ``` @@ -39,8 +39,8 @@ And its output: ```console $ go run . | cat -e -3 -7 -2 --1 +3$ +7$ +2$ +-1$ ```