i have a function "avg" defined in Python (version 3.7.7) like this:
def avg(x,y):
print("firts input is", x)
print("second input is", y)
a = (x + y) / 2.0
print("average is", a)
return a
avg(3,4)
and it gives me the following output on my console:
('firts input is', 3) ('second input is', 4) ('average is', 3.5)
Why is Python printing the Parantheses and the "," ? When I just type:
print("Hello World!")
i dont get the Parantheses ...