작성해보기

func main() {
	xs := []float64{98,93,77,82,83}
	total := 0.0
	for _, v := range xs {
		total += v 
	}
	fmt.Println(total / float64(len(xs))) 
}
func average(xs []float64) float64 { 
	panic("Not Implemented")
}
func average(xs []float64) float64 { 
	total := 0.0
	for _, v := range xs { 
		total += v
	}
   return total / float64(len(xs))
}
func main() {
	xs := []float64{98,93,77,82,83} 
	fmt.Println(average(xs))
}
func f2() (r int) { 
	r=1
	return 
}