'''
Created on Sep 7, 2011

@author: rodger
'''
def profit (ticket_price):
    ''' return profit of a performance based on ticket price''' 
    return revenue(ticket_price) - cost(ticket_price)

def revenue(ticket_price):
    ''' compute the revenue of a performance based on ticket price'''
    
    

def cost(ticket_price):
    ''' compute the cost of one performance'''
    
    

def attendees(ticket_price):
    ''' compute the number of attendees for one performance''' 
    
    

def printInfo(ticket_price):
    ''' print all the information based on a ticket price'''
    print "Ticket Price is " + str(ticket_price)
    print "profit is " + str(profit(ticket_price))   
    print "revenue is " + str(revenue(ticket_price))
    print "Cost is " + str(cost(ticket_price))
    print "Number of attendees are " + str(attendees(ticket_price))
    print

printInfo(5.00)
printInfo(4.90)
printInfo(4.80)
printInfo(5.10)
printInfo(5.20)
printInfo(5.30)
