We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d537497 commit 7c8c4f2Copy full SHA for 7c8c4f2
random-number-generator/README.md
@@ -0,0 +1,5 @@
1
+# Random Number Generator
2
+
3
+A random number generator program
4
5
+This example generates desired random number of desired range.
random-number-generator/random-number-generator.py
@@ -0,0 +1,10 @@
+from random import uniform
+random_number_count = int(input("How many random number: "))
+minimum_random_value = float(input("Minimum random value: "))
+maximum_random_value = float(input("Maximum random value: "))
6
7
+while random_number_count != 0:
8
+ print(uniform(minimum_random_value, maximum_random_value))
9
10
+ random_number_count -= 1
0 commit comments