From 5336c639590a87ea3f96e0e050357c77fd51635a Mon Sep 17 00:00:00 2001 From: miguel Date: Wed, 21 Jun 2023 17:27:39 +0100 Subject: [PATCH] docs(digitlen):fix readme --- subjects/digitlen/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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$ ```