Please generate a random float where the value is between 5 and 95 using Python math module.


Topic: Please generate a random float where the value is between 5 and 95 using Python math module.

Solution

import random
print(random.random()*100-5)



List all Python Programs