Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Práctica 1 MathAv

34 views
# Ejercio 1 42//7
6
43%7
1
# 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