Link Search Menu Expand Document

Challenge 2: Declare a Tuple

  • Problem Statement
    • Declare a tuple, persons, of size 6 that has the names of a people along with their ages
    • Print the value of persons
  • Output

The output of the code should be:

Alex:21, Abe:22, Anna:23

Coding Exercise

it is recommended‚Äč that you try solving the exercise yourself before viewing the solution.


fn test() {
    // Write code here!
}


Good luck!ūü§ě