def f(a,b): assert b!=0,'le deuxième argument est nul' result = a/b return result