Home | Mirror | Search

3. String format

strHello = "the length of (%s) is %d" %('Hello World',len('Hello World')) print strHello

comments powered by Disqus