Mechatronics
Documentation for ME 405 labs
Vendotron.Drink Class Reference

A small struct representing a drink. More...

Public Member Functions

def __init__ (self, name, price)
 Create a Drink object. More...
 

Public Attributes

 name
 
 price
 < The name of the drink #
 

Detailed Description

A small struct representing a drink.

Constructor & Destructor Documentation

◆ __init__()

def Vendotron.Drink.__init__ (   self,
  name,
  price 
)

Create a Drink object.

Parameters
nameThe name of the drink
priceThe price of the drink in USD (must be a float)

The documentation for this class was generated from the following file: