Qpython
#-*-coding:utf8;-*-
#qpy:2
#qpy:consol
#-*-coding:utf8;-*-
#qpy:2
#qpy:consol
import math
import random
a = [ (random.randint(0, 10)) for _ in range(1,10)]
print a
print "max=",max(a), "min ",min(a)
mm=range(0,9)
sum=0
for i in mm[::2]:
. print "a[",i,"]=", a[i]
. sum+=a[i]
print "summa=",sum
такие коды, пиши