From 22a98fb3c1841e4a1b925ad8196403ededeaed23 Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Fri, 17 Jun 2022 20:52:57 +0100 Subject: [PATCH] numofdegit --- subjects/numofdigits/README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/subjects/numofdigits/README.md b/subjects/numofdigits/README.md index 9da393a00..38854d97e 100644 --- a/subjects/numofdigits/README.md +++ b/subjects/numofdigits/README.md @@ -19,17 +19,16 @@ func Numofdigits(num int) int { package main import ( - "github.com/01-edu/z01" + "fmt" "piscine" ) func main() { - z01.PrintRune(piscine.Numofdigits(3)) - z01.PrintRune(piscine.Numofdigits(245)) - z01.PrintRune(piscine.Numofdigits(-1)) - z01.PrintRune(piscine.Numofdigits(885)) - z01.PrintRune(piscine.Numofdigits(8574)) - z01.PrintRune('\n') + fmt.Println(piscine.Numofdigits(3)) + fmt.Println(piscine.Numofdigits(245)) + fmt.Println(piscine.Numofdigits(-1)) + fmt.Println(piscine.Numofdigits(885)) + fmt.Println(piscine.Numofdigits(8574)) } ```