Browse Source

docs(checkpoints-exercises): remove piscine imports

pull/2076/head
miguel 1 year ago committed by MSilva95
parent
commit
278310de73
  1. 13
      subjects/printif/README.md

13
subjects/printif/README.md

@ -9,7 +9,7 @@ Write a function that takes a `string` as an argument and returns the letter `G`
### Expected function
```go
func PrintIfNot(str string) string {
func PrintIf(str string) string {
}
```
@ -23,16 +23,15 @@ package main
import (
"fmt"
"piscine"
)
func main() {
fmt.Print(piscine.PrintIf("abcdefz"))
fmt.Print(piscine.PrintIf("abc"))
fmt.Print(piscine.PrintIf(""))
fmt.Print(piscine.PrintIf("14"))
fmt.Print(PrintIf("abcdefz"))
fmt.Print(PrintIf("abc"))
fmt.Print(PrintIf(""))
fmt.Print(PrintIf("14"))
}
```
And its output:

Loading…
Cancel
Save