From 065d4bcbb4e1230aeb9858741047e46972798906 Mon Sep 17 00:00:00 2001 From: ozzy-999 <76670555+ozzy-999@users.noreply.github.com> Date: Wed, 3 Aug 2022 03:40:46 -0500 Subject: [PATCH] Update test_type_casting.py --- src/data_types/test_type_casting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_types/test_type_casting.py b/src/data_types/test_type_casting.py index e5b1fef3..22b827e3 100644 --- a/src/data_types/test_type_casting.py +++ b/src/data_types/test_type_casting.py @@ -9,7 +9,7 @@ Casting in python is therefore done using constructor functions: - int() - constructs an integer number from an integer literal, a float literal (by rounding down -to the previous whole number) literal, or a string literal (providing the string represents a +to the previous whole number), or a string literal (providing the string represents a whole number) - float() - constructs a float number from an integer literal, a float literal or a string literal