Browse Source

docs(checkpoints-exercises): remove piscine imports

pull/2075/head
miguel 1 year ago committed by MSilva95
parent
commit
231a6df392
  1. 14
      subjects/binarycheck/README.md

14
subjects/binarycheck/README.md

@ -6,9 +6,11 @@ Write a function that takes an int as an argument and returns 0 if the number is
### Expected function ### Expected function
```go
func BinaryCheck(nbr int) int { func BinaryCheck(nbr int) int {
} }
```
### Usage ### Usage
@ -19,16 +21,14 @@ package main
import ( import (
"fmt" "fmt"
"piscine"
) )
func main() { func main() {
fmt.Println(piscine.BinaryCheck(5)) fmt.Println(BinaryCheck(5))
fmt.Println(piscine.BinaryCheck(0)) fmt.Println(BinaryCheck(0))
fmt.Println(piscine.BinaryCheck(8)) fmt.Println(BinaryCheck(8))
fmt.Println(piscine.BinaryCheck(-9)) fmt.Println(BinaryCheck(-9))
fmt.Println(piscine.BinaryCheck(-4)) fmt.Println(BinaryCheck(-4))
} }
``` ```

Loading…
Cancel
Save