// Homework 14, problem 2: Contains. // // Print whether sentence contains the word "go", and whether it contains // the word "cake". Use strings.Contains, which gives true or false. // // You need the strings package. Change the import line to: // import ( // "fmt" // "strings" // ) // // Run with: go run exercises/14/homework/02-contains.go package main import "fmt" func main() { sentence := "i am learning go this year" // TODO: write your code here, in place of this placeholder line: fmt.Println("TODO: replace this line", sentence) }