Skip to content

Instantly share code, notes, and snippets.

@blackcorvidae
Created October 29, 2014 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save blackcorvidae/bf7abaf92f163106eb19 to your computer and use it in GitHub Desktop.
Save blackcorvidae/bf7abaf92f163106eb19 to your computer and use it in GitHub Desktop.
Introduction to Problem Solving and Programming-Python Section: 001 Fall 2014 - Lab 6 Classes
class Product:
def __init__(self):
pass
name = "Product Name"
description = "Product Description"
def profile(self):
return self.name + "\n" + self.description
class Store:
def __init__(self):
pass
name = "Store Name"
description = "Store Description"
def profile(self):
return self.name + "\n" + self.description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment