Prijs inclusief BTW

Log in om je oplossingen te testen.
### GLOBALE VARIABELEN BTW = 0.19 # 19% btw ### FUNCTIE DEFINITIES def berekenPrijsInclBTW(prijs_zonder_BTW): prijs_incl_BTW = prijs_zonder_BTW * (1 + BTW) afgeronde_prijs_incl_BTW = round(prijs_incl_BTW, 2) return afgeronde_prijs_incl_BTW ### HOOFDPROGRAMMA prijs_verf_exclBTW = 19.90 prijs = berekenPrijsInclBTW(prijs_verf_exclBTW) print("Prijs inclusief btw is:", prijs)
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.

  Python sandbox

In dit venster kan je Python-code uitvoeren zonder iets te moeten installeren. De code die je hier schrijft wordt niet automatisch ingediend in Dodona.

Testgeval dat gedebugd wordt