From 260e98f29b1db718a30bd73e7288a4f093af028c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2026 12:35:01 +0000 Subject: [PATCH] Refactor: Avoid wildcard import in Learn Giraffe.py Updated `Part-1/wHATTA/Basics/Learn Giraffe.py` to use an explicit import `from math import factorial` instead of `from math import *`. This change improves code readability, explicitly documents dependencies, and prevents namespace pollution or potential naming collisions. Co-authored-by: ManupaKDU <95234271+ManupaKDU@users.noreply.github.com> --- Part-1/wHATTA/Basics/Learn Giraffe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Part-1/wHATTA/Basics/Learn Giraffe.py b/Part-1/wHATTA/Basics/Learn Giraffe.py index 8179402..33ed915 100644 --- a/Part-1/wHATTA/Basics/Learn Giraffe.py +++ b/Part-1/wHATTA/Basics/Learn Giraffe.py @@ -1,4 +1,4 @@ -from math import * +from math import factorial feds = [0 , 10] print(feds[1: 9]) print(factorial(6)) \ No newline at end of file