12.String Concatenation


#1



In some previous exercises i printed without the "+"?What's the difference between using "+" and not using it?



#2

so we want to print something , there is three choices
1) print varibale , our code will be : print var1
2) print string ( message ) ,our code : print "message"
3) print variable and message - Concatenation -
- our code can be : print "meesage"+var1
or print "message %s" % ( var1)
!! if the variables is number we have to convert it to string , we can use this function str(number1)