Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Introduction to lists
Accessing list elements
Unnamed lists
Working with lists
Summary

Instruction

Nice job! So if we don't have the names of this list's members, how can we access its members? The answer is surprisingly straightforward – we simply use the indexes/positions we saw earlier!

For example, if you want to extract the first element of the job_role_no_names list, you can use

job_role_no_names[[1]]

Likewise, you can use

job_role_no_names[[2]]

to access the second member, and so on. Give it a try!

Exercise

Extract the skills that are necessary for the data scientist role. Recall that skills are the third member in the job_role_no_names list.