Browse Source

fix(go-exam): add missing import piscine, style: correct white-spaces and formatting

pull/2057/head
Tiago Collot 2 years ago committed by MSilva95
parent
commit
8cb2282465
  1. 22
      subjects/fromto/README.md

22
subjects/fromto/README.md

@ -1,4 +1,4 @@
# fromto
## fromto
### Instructions
@ -36,26 +36,24 @@ Here is a possible program to test your function:
```go
package main
import "fmt"
import (
"fmt"
"piscine"
)
func main() {
fmt.Print(FromTo(1, 10))
fmt.Print(FromTo(10, 1))
fmt.Print(FromTo(10, 10))
fmt.Print(FromTo(100, 10))
fmt.Print(piscine.FromTo(1, 10))
fmt.Print(piscine.FromTo(10, 1))
fmt.Print(piscine.FromTo(10, 10))
fmt.Print(piscine.FromTo(100, 10))
}
```
<<<<<<< HEAD
And its output :
=======
And its output:
>>>>>>> style(fromto): white-space, formmating
```console
$ go run . | cat -e
01, 02, 03, 04, 05, 06, 07, 08, 09, 10$
10, 09, 08, 07, 06, 05, 04, 03, 02, 01$
10$
invalid$
Invalid$
```

Loading…
Cancel
Save