From 8c62b26f5fca136cbaaa95ee491d9b384828d5e7 Mon Sep 17 00:00:00 2001 From: Tiago Collot Date: Thu, 6 Oct 2022 16:03:12 +0100 Subject: [PATCH] docs(fifthandskip): rename folder name - fix title header - add missing package 'piscine' - format indentation --- subjects/FifthAndSkip/README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/subjects/FifthAndSkip/README.md b/subjects/FifthAndSkip/README.md index 43a9e805..fe9fda85 100644 --- a/subjects/FifthAndSkip/README.md +++ b/subjects/FifthAndSkip/README.md @@ -1,4 +1,4 @@ -# fifthandskip +## fifthandskip ### Instructions @@ -22,19 +22,21 @@ Here is a possible program to test your function: ```go package main -import "fmt" - +import ( + "fmt" + "piscine" +) func main() { - fmt.Print(FifthAndSkip("abcdefghijklmnopqrstuwxyz")) - fmt.Print(FifthAndSkip("This is a short sentence")) - fmt.Print(FifthAndSkip("1234")) + fmt.Print(piscine.FifthAndSkip("abcdefghijklmnopqrstuwxyz")) + fmt.Print(piscine.FifthAndSkip("This is a short sentence")) + fmt.Print(piscine.FifthAndSkip("1234")) } ``` And its output: -```go +```console $ go run . | cat -e abcde ghijk mnopq stuwx z$ Thisi ashor sente ce$