Re: print "%s"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob Weir

    Re: print "%s"

    On 18 Aug 2008, Beema Shafreen wrote:
    Hi ALL,
    >
    In my script i have to print a series of string , so
    >
    print "%s\t%s\t%s\t%s \t%s\t%s\t" %("a","v","t"," R","s","f")
    print "\t".join(("a", "v","t","R","s" ,"f")) + "\t"

    Note the double brackets.

    --
    -rob

Working...