Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with tuples, Python 3 help. Purpose: To practice creating and using tuples. Degree of Difficulty: Easy In this exercise, you will create a program

Help with tuples, Python 3 help. image text in transcribed
Purpose: To practice creating and using tuples. Degree of Difficulty: Easy In this exercise, you will create a program that can display information about the first ten elements in the periodic table. The periodic table of is a table of the chemical elements. It is organized by the element's atomic number (the number of protons the element has) and contains information about each element, such as atomic weight. Create a list of tuples that holds the information about the first 10 elements in the periodic table (just write the list of tuples as a literal, do not try to input it from the console). Each tuple will include: the atomic symbol, name, number, and weight. The data for each element is provided in the table below. Now your program should prompt the user to enter an atomic number between 1 and 10 from the console. The program will then display information about the element with that atomic number on the console. Sample Output Here is an example of what your program's console output should look like. Green text was entered by the user. Periodic Table Information Which element would you like to know about? Enter the atomic number now: 7 Symbol: N Name: Nitrogen Number: 7 Weight: 14.007

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

Question Can a self-employed person adopt a profit sharing plan?

Answered: 1 week ago