Skip to content

peternielsen112/periodictableindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

periodictableindex

Github All Releases GitHub release GitHub Release Date GitHub license GitHub stars

Contents

Overview

This repository contains an index of the Periodic Table of the Elements, from hydrogen to oganesson. It gives the atomic number, average atomic mass, and element symbol. More information planned for a later release.

Requirements

This program requires the following:

  • Python 3.7 or higher
  • Python's sys module (should be built in)

How it Works

This program takes a user's command line argument for the requested element using sys.argv. It takes this, saves it as a variable called search, and then checks through a list of identifiers for the various elements to call up the right entry. Then the entry is returned using the print function. Error messages are in place if an improper identifier is given.

About the Creator

I create programs in a variety of languages, from Python to JavaScript to CSS and more. I'm on GitHub: @peternielsen112 and also Replit.com by the same username. Please email any problems or suggestions to me at dirigo112@gmail.com.