fork download
  1. # your code goes here
  2.  
  3. def(a):
  4. sampledata=[16, 10, 20, 13, 29, 22, 44, 3, 6, 100, 27, 92, 67, 85, 21, 65, 72, 52, 67, 98, 18, 58, 8, 98, 5, 22, 9, 50, 85, 99, 29, 12, 1, 80, 29, 58, 84, 77, 75, 27, 71, 19, 50, 9, 66, 84, 62, 99, 91, 23, 36, 28, 71, 81, 89, 78, 76, 57, 63, 48, 73, 97, 19, 89, 69, 61, 20, 57, 94, 4, 43, 30, 91, 86, 16, 3, 41, 36, 8, 86, 32, 38, 1, 49, 11, 1, 59, 83, 3, 82, 92, 60, 60, 7, 68, 99, 68, 35, 32, 44]
  5. sum=0
  6. for j in range(a,a+10):
  7. sum=sum+sampledata[j]
  8. return sum
  9. print(int((0)))
Success #stdin #stdout 0.03s 9512KB
stdin
Standard input is empty
stdout
263