Now it is your turn to practice using the skills you’ve learned! This practice is very open ended and you are welcome to take it in any direction you would like!
Make your own copy of this Google Colab, and follow the instructions below. Then submit it on the google form below.
You’ll be given 3 different lists containing strings of different categories. Your task will be to copy the list of your choosing from below and then paste it into your own code so you can work with it!
Your example can display any information you want as long as you include the following requirements:
Index the list
Slice the list
Use string concatenation with elements in the list to display something new
Use an F-string
Obtain and use user input
Notice: we can use multiple lines to represent a list rather than all in one line. This makes it way easier to read!
List Options - Choose One of Them!
musicians = [
"Taylor Swift",
"Beyoncé",
"Ed Sheeran",
"Billie Eilish",
"Ariana Grande",
"Drake",
"Adele",
"Bruno Mars",
"Lady Gaga",
"Justin Bieber"
]
us_states = [
"California",
"Texas",
"Florida",
"New York",
"Pennsylvania",
"Illinois",
"Ohio",
"Georgia",
"Oregon",
"Michigan"
]
movies = [
"Toy Story",
"Finding Nemo",
"The Lion King",
"Frozen",
"Moana",
"Shrek",
"Monsters, Inc.",
"The Incredibles",
"Up",
"Despicable Me"
]
Before you submit, please make sure that your share settings are set so that anyone with the link is can comment on your notebook! Thank you!!