Can I use the same var name when passing a value to a function in Python, like this?:
def function(i):
z=i+1
print (z)
for i in range (0,100):
function(i)
Or should I do it like this:
def function(x):
z=x+1
print (z)
for i in range (0,100):
function(i)
what is the best practice?