docs(printif): update subject to be inline with tests

This commit is contained in:
nprimo 2024-07-29 12:53:31 +01:00 committed by Niccolò Primo
parent e5633da44f
commit d70fd80095
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
### Instructions
Write a function that takes a `string` as an argument and returns the letter `G` followed by a newline `\n` if the argument length is more than 3, otherwise returns `Invalid Input` followed by a newline `\n`.
Write a function that takes a `string` as an argument and returns the letter `G` followed by a newline `\n` if the argument length is more or equal than 3, otherwise returns `Invalid Input` followed by a newline `\n`.
- If it's an empty string return `G` followed by a newline `\n`.
@ -39,7 +39,7 @@ And its output:
```console
$ go run . | cat -e
G$
Invalid Input$
G$
G$
Invalid Input$
```