Skip to content

CS50's Introduction to Programming with Python, Exception Problem Set 3 , Grocery List

Notifications You must be signed in to change notification settings

GakuruAlex/grocery_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grocery List

CS50's Introduction to Programming with Python Problem Set 3 on Exceptions Grocery List problem.

A program that prompts the user for items, one per line, until the user inputs control-d. Then the Program outputs the grocery list in all uppercase, sorted alphabetically by item, prefixing each line with the number of times the user inputted that item.

Prerequisite

clone this repo

git clone git@github.com:GakuruAlex/grocery_list.git

change directory to grocery_list

    cd grocery_list

Create a virtualenv

    python3 -m venv myenvname

Activate virtualenv

    source myenvname/bin/activate

Install requirements

    pip install -r requirements.txt

Usage

Run program

    python3 grocery.py

Run tests

    pytest -v

Author

Alex Gakuru

About

CS50's Introduction to Programming with Python, Exception Problem Set 3 , Grocery List

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages