Skip to content

Instantly share code, notes, and snippets.

@holderms
holderms / 0_BookCatalogList
Last active November 10, 2017 01:26
Maintain a catalog of books using a Linked List.
//Header for file naming purposes
@holderms
holderms / 0_Library
Last active November 10, 2017 01:27
Reads, adds, or deletes a list of books from a text file. The "Book" class implements the "Citable" interface
//Header for gist naming purposes
# Samantha Holderman
# This program plays multiple rounds of a Hi-Low game with the user
# The user chooses a number between 1 - 100
# The program tells the user higher or lower, and the user guesses again
# To win, user must guess the correct number in 8 rounds
# The first to reach 5 wins, wins the game
# Samantha Holderman
# Program to manipulate an image file and save it as 3 changed files.
#Global Constants
MAX_COLOR = 255
FILE_TYPE = ".ppm" # Change file type here
# Starting text giving basic program information
def intro():