Re: function return

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Nordhoff

    Re: function return

    Gabriel Genellina wrote:
    En Thu, 11 Sep 2008 10:59:10 -0300, Matt Nordhoff
    <mnordhoff@matt nordhoff.comesc ribió:
    >
    >> result = "%s\t%s\t%s " %(id,gene_symbo l,ptms)
    >>
    >This is very trivial, but you could change the above line to:
    >>
    > result = "\t".join(i d, gene_symbol, ptms)
    >
    So trivial that you did not even attempt to test it, I presume. It must
    obviously work... except it doesn't :)
    >
    result = "\t".join(( id, gene_symbol, ptms))
    Haha, whoops. Sorry!
    --
Working...