From 2b1bc924e670243721f2058dcdb49525b1ba2f45 Mon Sep 17 00:00:00 2001 From: henry <133125891+johnhenry411@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:01:04 +0300 Subject: [PATCH] Update 4-print_float.py --- 4-print_float.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/4-print_float.py b/4-print_float.py index 39b022c..344bd4d 100644 --- a/4-print_float.py +++ b/4-print_float.py @@ -1,3 +1,4 @@ #!/usr/bin/python3 number = 3.14159 -# YOUR CODE GOES HERE. PLEASE REMOVE THIS LINE +print(f"Float: {number:.2f}") +