Skip to content

An example Python project for milestone 1 of the Ethereal MasterClass

License

Notifications You must be signed in to change notification settings

EtherealLabs/example-python-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

example-python-1

The class was asked to write a functioning, novel program showcasing

  1. User Input
  2. String manipulation
  3. Use of a dictionary
  4. List comprehension
  5. Clean function definitions using at least 3 functions to separate code

This repo provides an example of a trivial shopping cart that

  1. Gather user input to fetch the name, item, and quantity
  2. Parses the user's name input to parse out the first name
  3. Uses a dictionary for price lookups
  4. Uses list comprehension to create the menu items from the food list
  5. Separates out the menu processing and output into functions

About

An example Python project for milestone 1 of the Ethereal MasterClass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages