import random
print(random.uniform(1,3))
'is 3 included in the range or not,and how is it decided whether to include the end-point 3 in the range or not? floating-point rounding in the equation a + (b-a) * random(). How is the above equation solved?'
Aucun commentaire:
Enregistrer un commentaire