Exercise: Tuples from Records

Let's use a function to convert record fields into tuple components.

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 1200+ tech skills courses.