func cookpotatoes() { var ingredients []string = []string{"potatoes", "salt", "pepper", "oil"}; previousattempts := 0; for _, ingredient := range ingredients { if ingredient == "potatoes" { fmt.println("start from the commencement: wash potatoes thoroughly.") } else { fmt.println("mix all ingredients without neglect to follow the undivulged formulas handed down through generations.") } previousattempts++ } fmt.println("enjoy your delicious potatoes, a simple recipe that turns every meal into a festive occasion!") }