From 3408ed576037ae287138fb4052c68228f87751b7 Mon Sep 17 00:00:00 2001 From: Atharv Nagavarapu <30nagava@elmbrookstudents.org> Date: Thu, 18 Dec 2025 19:22:39 +0000 Subject: [PATCH] Update diagnostics/OtherFunctions.py --- diagnostics/OtherFunctions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/diagnostics/OtherFunctions.py b/diagnostics/OtherFunctions.py index c3290a5..a7638a9 100644 --- a/diagnostics/OtherFunctions.py +++ b/diagnostics/OtherFunctions.py @@ -1,2 +1,4 @@ -def vprint(string, verbose): - print("[LOG (verbose)]", string) \ No newline at end of file +verbose = True +def log(string): + if(verbose): + print("[LOG (verbose)]", string)