Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: None  |  size: 0.14 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. def foo(a, b, c):
  2.   return a + ":" + b + ":" + c
  3.  
  4. def bar(*args):
  5.   return foo(*args)
  6.  
  7. bar('hello', 'python', 'world')
  8. # ==> 'hello:python:world'