# Python
from random import randint
arr = []
sum = 0
for i in range(10):
arr.append(randint(1, 100))
if arr[i] % 2:
sum += arr[i]
print(arr)
print('sum: ', sum)
# Python
from random import randint
arr = []
sum = 0
for i in range(10):
arr.append(randint(1, 100))
if arr[i] % 2:
sum += arr[i]
print(arr)
print('sum: ', sum)