Práctica 1 MathAv
# Ejercio 1 42//7
43%7
# Ejercicio 2 w=walltime() y=87//3 walltime(w) z=walltime() x=87%3 walltime(z)
# Ejercicio 3 def div(n1,n2): cociente==0 if n1<0: n1=n1+n1+n1 resto=n1 while resto>n2: resto=resto-n2 cociente=cociente+1 if n1<0 and resto>0: resto= n2 - resto cociente= -(cociente+1) return cociente,resto