package main import ("fmt""strconv")func daffodil(n string) {var s intvar sum intfor i:=0;i<len(n);i++ {s=int(n[i]-'0')sum += s*s*s}number,_:=strconv.Atoi(n)if sum == number {fmt.Println(n,"is a daffodil Num.")}else{fmt.Println(n,"Not a daffodil Num.")}} func main() {var str string = "153"daffodil(str)}