From f0e8c0142a62e79bcd781662469a88b69c591ddc Mon Sep 17 00:00:00 2001 From: Zhou Jiangcheng Date: Sun, 8 Sep 2024 20:27:06 +0800 Subject: [PATCH] fix the python output in floating section Fixed the Python output in the "Floating Point Numbers" section in the explanatory notes. --- source/learn/rosetta_stone.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/learn/rosetta_stone.md b/source/learn/rosetta_stone.md index 9abbbe40b93..c8f3d8b91d2 100644 --- a/source/learn/rosetta_stone.md +++ b/source/learn/rosetta_stone.md @@ -1040,7 +1040,7 @@ f = 1.1 f = 1.1 # 1.1 f = 1e8 # 100000000.0 f = float(1) / 2 # 0.5 -f = float(1 / 2) # 0.0 +f = float(1 / 2) # 0.5 f = float(5) # 5.0 ```