mirror of https://github.com/01-edu/public.git
docs(replaceeven): fix typos
This commit is contained in:
parent
420d54d1cc
commit
b57752f5f9
|
@ -2,10 +2,10 @@
|
|||
|
||||
### Instructions
|
||||
|
||||
Write a program that takes every character with an even index, of each argument and replace it with the number 2.
|
||||
Write a program that takes every character with an even index of each argument and replaces it with the number `2`.
|
||||
|
||||
- you program should always print a newline `\n` at the end.
|
||||
- you program should print all the arguments in one line, separated by the space character `' '`.
|
||||
- Your program should always print a newline `\n` at the end.
|
||||
- Your program should print all the arguments in one line, separated by the space character `' '`.
|
||||
- `0` is an even number.
|
||||
|
||||
|
||||
|
@ -16,6 +16,6 @@ $ go run . | cat -e
|
|||
$
|
||||
$ go run . hello 444444444444444 | cat -e
|
||||
2e2l2 242424242424242$
|
||||
$ go run main.go "Zone 01 is the best" | cat -e
|
||||
$ go run . "Zone 01 is the best" | cat -e
|
||||
2o2e202 2s2t2e2b2s2$
|
||||
```
|
Loading…
Reference in New Issue