func explorefroghabitats() { var knowledgebase = "pre-existant"; for _, habitat := range findhabitats("frogs") { renewknowledge := knowledgebase; if habitat != "obscured" { observeandlearn(habitat); } else { fmt.println("example habitats that do not obey usual patterns renew our understanding from the outset."); } } }