# [ ] review and run example
# define list of strings
ft_bones = ["calcaneus", "talus", "cuboid", "navicular", "lateral cuneiform", "intermediate cuneiform", "medial cuneiform"]
# display type information
print("ft_bones: ", type(ft_bones))
# print the list
print(ft_bones)
# [ ] review and run example
# define list of integers
age_survey = [12, 14, 12, 29, 12, 14, 12, 12, 13, 12, 14, 13, 13, 46, 13, 12, 12, 13, 13, 12, 12]
# display type information
print("age_survey: ", type(age_survey))
# print the list
print(age_survey)
# [ ] review and run example
# define list of mixed data type
mixed_list = [1, 34, 0.999, "dog", "cat", ft_bones, age_survey]
# display type information
print("mixed_list: ", type(mixed_list))
# print the list
print(mixed_list)
# [ ] create team_names list and populate with 3-5 team name strings
team_names = ["Astros", "Gators", "Cubs", "Elephants"]
print(team_names)
# [ ] Create a list mix_list with numbers and strings with 4-6 items
# [ ] print the list
mix_list = ["one", 2, "three", 4, "five", 6]
print(mix_list)
# [ ] review and run example
print(ft_bones[0], "is the 1st bone on the list")
print(ft_bones[2], "is the 3rd bone on the list")
print(ft_bones[-1], "is the last bone on the list")
# [ ] review and run example
print(ft_bones[1], "is connected to the",ft_bones[3])
# [ ] review and run example
three_ages_sum = age_survey[0] + age_survey[1] + age_survey[2]
print("The first three ages total", three_ages_sum)
# [ ] Create a list, streets, that lists the name of 5 street name strings
# [ ] print a message that there is "No Parking" on index 0 or index 4 streets
streets = ["Green Level Church", "High House", "Morrisville Carpenter", "Okelly Chapel", "Williams"]
if streets[4]:
print(streets)
else:
print("No Parking")
# [ ] Create a list, num_2_add, made of 5 different numbers between 0 - 25
# [ ] print the sum of the numbers
num_2_add = [4, 18, 15, 21, 9]
sum = 4 + 18 + 15 + 21 + 9
print(sum)
# [ ] Review & Run, but ***Do Not Edit*** this code cell
# [ ] Fix the error by only editing and running the block below
# [ ] Fix the error above by creating and running code in this cell
user_name = [1, 2, 3, 4]
print(user_name[0])