Can we use , instead of +


#1



Replace this line with your code.


#2

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.


#3

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