Can we use , instead of +


Replace this line with your code.


When using concatenation, it is plausible to use either:

name= "bitmaster52408"
print "Hello,",name #using the comma puts a space in for us
print "Hello, "+name #using the plus sign requires us to put the space in

It ultimately becomes a matter of convenience. Speaking regarding strictly syntax, both work.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.