Tuple Sums (Exercise)
This tuple sums exercise is starting to dive into nested collections. You should start by creating a tuple called
data that has two values, and each of those values are going to be a tuple again.
00:42 So that’s one and two, and the sum of these two is three. And then the second values, we’re talking about row two now, is a sum of seven, which is adding the two integer elements of that tuple together, which the elements are three and four, so that sum is seven.
Become a Member to join the conversation.