id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

priceWithSalesTax


Create a function that returns the price of a product with its sales tax added (Gwinnett county has a sales tax of 6%). Assume all test values are in cents


priceWithSalesTax(100) → 106.0
priceWithSalesTax(200) → 212.0
priceWithSalesTax(300) → 318.0

...Save, Compile, Run (ctrl-enter)

def priceWithSalesTax(price_in_cents):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy