SHARE
TWEET

ADD_VAT100

a guest Nov 15th, 2019 96 in 6 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. number = float(input())
  2.  
  3.  
  4. def add_vat_100(num):
  5.     result = num * 1.20
  6.     return result
  7.  
  8.  
  9. print(f'{add_vat_100(number):.2f}')
  10.  
  11.  
  12. ########################################
  13.  
  14. number = float(input())
  15.  
  16.  
  17. def rm_vat_100(num):
  18.     result = num / 1.20
  19.     return result
  20.  
  21.  
  22. print(f'{rm_vat_100(number):.2f}')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top