Python 3.6.1
from random import random
print('N = ', end = '')
N = int(input())
A = []
S = 0
for i in range(N):
A.append(int(random()*(N*2+1)-N))
print(A[i],end=' ')
S+=A[i]
print("\nSr =",S/N)
a = [10, -3, -5, 2, 5]
Min = 0
j = 0
for i in a:
if a[j] < a[Min]:
Min = j
j+=1
print("Min = ",a[Min],'[',Min,']')