Skip to content

Commit

Permalink
Update math_lycee.py
Browse files Browse the repository at this point in the history
bug dans random_between
  • Loading branch information
byache committed Jan 5, 2022
1 parent e2cc380 commit d4d4d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydiderotlibs/math_lycee.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ def alea_entre_bornes(a,b,p=15):
c=int(c*10**p)/10**p
return c

def random_between(a,b,p=0):
alea_entre_bornes(a,b,p)
def random_between(a,b,p=15):
return alea_entre_bornes(a,b,p)

0 comments on commit d4d4d4f

Please sign in to comment.