Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2005-12-18 05:30:31
Size: 169
Editor: rockety
Comment:
Revision 6 as of 2006-08-05 03:45:50
Size: 431
Editor: bohachu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * 嘿嘿,Python已经忽悠了很多人来学了,我继续去忽悠人来学Lisp -- AlbertLee

--

貢獻一下Python的寫法:
def foo(op,x,y):
  print eval("%s%s%s"%(op,x,y))
也是兩行就可以下班喔 :)
用法: foo("+",66,88)

Bowen Chiu

--

貢獻一下Python的寫法: def foo(op,x,y):

  • print eval("%s%s%s"%(op,x,y))

也是兩行就可以下班喔 :) 用法: foo("+",66,88)

Bowen Chiu

ProgrammerJokes/Discuss (last edited 2009-12-25 07:09:35 by localhost)