2008/2/14 Giovanni Porcari <[EMAIL PROTECTED]>:
>  LO SO... LO SO...
>
>  def somma(a,b):
>      return b*b - a*a
>
>   >>> somma(4,5)
>  9
>
>  Ah... che bello! Soddisfa il test :D

Ricordami di non usare software scritto da te :P.

for a, b, c in [(1,2,3), (4,5,9), (19, 1, 20), (0, 0, 0)]:
   assert somma(a, b) == c

:P

-- 
Valentino Volonghi aka Dialtone
Now running MacOS X 10.5
Home Page: http://www.twisted.it
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Reply via email to