Demonstrates string concatenation and repetition : Loop : String PYTHON examples


PYTHON examples » String » Loop »

 

Demonstrates string concatenation and repetition


 

print "You can concatenate two " "strings with the '+' operator."

print "this " 
      "is " 
      "a test!"

print 
"""
A
B""",

print "Pie" 10

print "nNow that's good eating."

   
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo String
» Loop