From d2e6f88b2d876ee566c4a98ce5fcf4ac24235194 Mon Sep 17 00:00:00 2001 From: Hamza elkhatri <40549481+Hamzaelkhatri@users.noreply.github.com> Date: Fri, 1 Jul 2022 11:20:22 +0100 Subject: [PATCH] remove `piscine` header and fix typo --- subjects/printrange/README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/subjects/printrange/README.md b/subjects/printrange/README.md index 09bfa4f9..2411100d 100644 --- a/subjects/printrange/README.md +++ b/subjects/printrange/README.md @@ -8,7 +8,7 @@ Write a function called `PrintRange` that given a range between two numbers, pri - If the number is greater than `9` print only up to `9` - If the number is less than '0' print only up to '0' - If both numbers are less than `0` print (`'\n'`), the same applies when both numbers are greater than 9. -- the output must be separated by spaces and (`'\n'`) at the end. +- The output must be separated by spaces and (`'\n'`) at the end. ### Expected function @@ -25,16 +25,15 @@ Here is a possible program to test your function: ```go package main -import "piscine" import "fmt" func main() { - piscine.PrintRange(1, 10) - piscine.PrintRange(10, 1) - piscine.PrintRange(1, 1) - piscine.PrintRange(10, 10) - piscine.PrintRange(0, 9) - piscine.PrintRange(-1, -10) + PrintRange(1, 10) + PrintRange(10, 1) + PrintRange(1, 1) + PrintRange(10, 10) + PrintRange(0, 9) + PrintRange(-1, -10) } ```