def recursiveSum(xs: List[Int]): Int =
if (xs.isEmpty) 0
else (xs.head + recursiveSum(xs.tail))
recursiveSum(List(1, 2, 3))
// res0: Int = 6
Scala- 40 min
- Guided Project
- Data Science
- Python
In the last part of this 3-segment Guided Project, we introduced the concept of Exploratory Data Analysis (EDA). We…