Added plant name in output message
Updated the code as per your suggestions. Removed the global variable and implemented the walrus operator :=
for ease.
Added plant name in output message
I can remove the global and return two values from the function in the form of a list or tuple.
Added plant name in output message