#!/usr/bin/env python # # program to compute pay # # written by e.bonakdarian sept 2010 # print 'This program will compute your pay' print # get name name = raw_input('What is your name? ') # get hours worked and pay rate hours = input('How many hours did you work? ') pay_rate = input('what is your hourly pay rate? ') # compute pay total_pay = hours * pay_rate # print results print 'You earned $', total_pay, name