Stuck on homework, Python Programming

There are three seating categories at a stadium. For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold, and then display the amount of income generated from ticket sales.
Posted Date: 3/2/2013 1:22:49 PM | Location : United States







Related Discussions:- Stuck on homework, Assignment Help, Ask Question on Stuck on homework, Get Answer, Expert's Help, Stuck on homework Discussions

Write discussion on Stuck on homework
Your posts are moderated
Related Questions
Imagine a "particle" located on the centre square of a two-dimensional grid of dimensions 11 by 75. The particle can only move one square at a time, either up, down, left, or right

Procedures in python Procedures are computer program creates that let us capture common patterns of computation by: Grouping together sequences of statements

python program of motion of a particle in viscus medium


how to calculate angle between 2 moving line in 2d space

Non-local references So far, whenever we needed to compute a variable, there  was  a binding for that  variable in the 'local' environment (the environment in which  we were e

List Comprehensions   Python has a very nice built-in  facility for doing  many  iterative methods, known as list comprehensions. The basic template is       [

I have a C++ code (10-15 line) which i need to re-write in python with the help of ctypes library. Is it possible i can get some help with it? Thanks & regards Tanmoy

Worked example 1   Let's examine what  happens when  we compute the following Python code:   def p(x, y): z = x*x - y return z + 1/z   >>> p(1.0, 2.0) -2.0

In Python, the fundamental abstraction of a computation is as a procedure (other  books call them "functions" instead; we will end  up  using  both  values).   A function that  tak