package main import ( "fmt" ) func main() { hasCode := true isCollected := false canOpen := hasCode && !isCollected fmt.Println(canOpen, !hasCode) }