Exercise: Tuples from Records
Let's use a function to convert record fields into tuple components.
We'll cover the following
Problem Statement
In this problem, you must create the infoTuple()
method which take a record and creates a tuple for its field values.
The record type we’ll be dealing with is called personalInfo
. Here is the implementation:
Get hands-on with 1400+ tech skills courses.