<documentation>In section 4.6. Defining Functions, It should be print(a,end==' ') in place of print(a, end=' ')

Hi Team, I am a beginner in python. I was going through the documentation for the first time. This link: https://docs.python.org/3.8/tutorial/controlflow.html In section 4.6. Defining Functions, It should be print(a,end==' '). "==" in place of "=". Please correct it. Let me correct if I am wrong.
Regards, Ruchi Sharma

Hi Ruchi, Le 9/25/21 à 7:27 PM, Ruchi Sharma a écrit :
The documentation is right, this is a named parameter, it means "print a, and end with a space instead of the default (which is a newline)". Adding another == would mean "print a, then also print True if end is equal to a string containing a space, else print False.". What version of Python are you using? Bests, -- [Julien Palard](https://mdk.fr)

Hi Ruchi, Le 9/25/21 à 7:27 PM, Ruchi Sharma a écrit :
The documentation is right, this is a named parameter, it means "print a, and end with a space instead of the default (which is a newline)". Adding another == would mean "print a, then also print True if end is equal to a string containing a space, else print False.". What version of Python are you using? Bests, -- [Julien Palard](https://mdk.fr)
participants (2)
-
Julien Palard
-
Ruchi Sharma