public/subjects/tolower
Pav01Founders 99c703518b
Update README.md
Fixed wording of instructions.
2021-10-14 12:29:15 +01:00
..
README.md Update README.md 2021-10-14 12:29:15 +01:00

README.md

tolower

Instructions

Write a function that lower cases for each letter in a string.

Expected function

func ToLower(s string) string {

}

Usage

Here is a possible program to test your function :

package main

import (
	"fmt"
	"piscine"
)

func main() {
	fmt.Println(piscine.ToLower("Hello! How are you?"))
}

And its output :

$ go run .
hello! how are you?
$

Notions