How to calculate the average number of random numbers generated?
<p>I have written a FOR loop to call a function 100 times to get 100 random numbers, I now need to calculate the average number of all the random numbers generated. How can I do this? This is where I got up to so far</p>

<pre><code>import random

num1 = int(input("Input First number "))
num2 = int(input("Input Second number "))

for i in range(10):
  print(random.uniform(num1, num2), end = "\t")
</code></pre>