From 231a6df3927cc9b1d24d58e407abf1850ebdca87 Mon Sep 17 00:00:00 2001 From: miguel Date: Tue, 4 Jul 2023 15:23:55 +0100 Subject: [PATCH] docs(checkpoints-exercises): remove piscine imports --- subjects/binarycheck/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subjects/binarycheck/README.md b/subjects/binarycheck/README.md index 7037f943b..1cb962e80 100644 --- a/subjects/binarycheck/README.md +++ b/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 +```go func BinaryCheck(nbr int) int { } +``` ### Usage @@ -19,16 +21,14 @@ package main import ( "fmt" - - "piscine" ) func main() { - fmt.Println(piscine.BinaryCheck(5)) - fmt.Println(piscine.BinaryCheck(0)) - fmt.Println(piscine.BinaryCheck(8)) - fmt.Println(piscine.BinaryCheck(-9)) - fmt.Println(piscine.BinaryCheck(-4)) + fmt.Println(BinaryCheck(5)) + fmt.Println(BinaryCheck(0)) + fmt.Println(BinaryCheck(8)) + fmt.Println(BinaryCheck(-9)) + fmt.Println(BinaryCheck(-4)) } ```