From d7286ab985695eaf6a7b0a00abae1b0e19f7a153 Mon Sep 17 00:00:00 2001 From: Wannes-Sys Date: Sun, 11 Jun 2023 21:41:57 +0000 Subject: [PATCH] be amazed --- is0.30000000000000004.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/is0.30000000000000004.py b/is0.30000000000000004.py index 64fd0d7..e7020b6 100644 --- a/is0.30000000000000004.py +++ b/is0.30000000000000004.py @@ -1 +1,5 @@ -print(0.1 + 0.2) \ No newline at end of file +print("0.1 + 0.2 = ", 0.1 + 0.2) +print("float(1) + float(2) = ", float(1) + float(2)) +print(f"float(1) + float(2) = {float(1) + float(2):.36f}, nu met 36 cijfers") +print("0.01 + 0.02 = ", 0.01 + 0.02) +print(f"0.01 + 0.02 = {0.01 + 0.02:.36f}, nu met 36 cijfers") \ No newline at end of file