Question
Write a function that create a list that contains the atomic numbers of the six alkaline earth metals: i. beryllium (4), magnesium (12), calcium (20),
Write a function that create a list that contains the atomic numbers of the six alkaline earth metals: i. beryllium (4), magnesium (12), calcium (20), strontium (38), barium (56), and radium (88) to a variable called alkaline earth metals and return it. ii. Write a function that takes the list as input and returns the index contains Radiums atomic number? iii. Write the answer in two ways, one using a positive index and one using a negative index. iv. Write a function that tells you how many items there are in alkaline earth metals? v. Write a function code that returns the highest atomic number in alkaline earth metals(do not use built-in function).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started