programming-examples/python/Math/Generate random float numbers in a specific numerical range.py
2019-11-15 12:59:38 +01:00

5 lines
111 B
Python

import random
for x in range(6):
print('\n{:04.3f}\n'.format(random.uniform(x, 100)), end=' ')
print()