Omrekenfuncties toevoegen

This commit is contained in:
betbetter committed 2026-11-13 21:38:42 +01:00
1 parent 052ac58ae7
commit 1a8c32f285
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
def decimaal_naar_kans(d):
return 1.0 / d
def amerikaans_naar_decimaal(a):
return 1 + a / 100 if a > 0 else 1 + 100 / -a