I have the a problem to understand how “print” in Python works exactly. Her ist a example:
def function(a): a += 1 print a
In this situation the output is:
But shouldn´t be here a error if I print something in a function and then I print the same thing
again? Or shouldn’t this situation cause a “double print”?
Thank you for your help