Binder - Bind (Globals ) Print 'Setup Complete.'
Binder - Bind (Globals ) Print 'Setup Complete.'
print("Hello, world!")
# Create variables
num_years = 4
days_per_year = 365
hours_per_day = 24
mins_per_hour = 60
secs_per_min = 60
def get_pay(num_hours):
# Pre-tax pay, based on receiving $15/hour
pay_pretax = num_hours * 15
# After-tax pay, based on being in 12% tax bracket
pay_aftertax = pay_pretax * (1 - .12)
return pay_aftertax
pay_parttime = get_pay(32)
print(pay_parttime)
print(pay_aftertax)