Найдите произведение нечетных элементов массива *
P=1 for in in range(0,n): if A[i]%2 <> 0: P*=A[i]
P=1 for in in range(0,n): if A[i]%2 !== 0: P*=A[i]
P=1 for in in range(0,n): if A[i]%2 != 0: P*=A[i]
P=0 for in in range(0,n): if A[i]%2 != 0: P*=A[i]
P=1 for in in range(0,n): if A[i]%2 == 0: P*=A[i]
В какой записи указанo четное число? *
B[i]>0
B[i]<0
B[i]%2!=0
B[i]<>0
B[i]%2==0
Найдите произведение элементов массива *
P=1 for i in range(0,n): P*=A[i]
P=0 for i in range(1,n) P*=A[i]
P=n for i in range(0,n) P*=A[i]
P=0 for i in range(0,n) P*=A[i]
P=1 for i in range(1,n) P*=A[i]
Найдите сумму четных элементов массива *
S=0 for in in range(1,n): if A[i]%2 == 0: S+=A[i]
S=0 for in in range(0,n): if A[i]%2 = 0: S+=A[i]
S=0 for in in range(0,n): if A[i]%2 == 0: S+=A[i]
S=0 for in in range(0,n): if A[2*i] == 0: S+=A[i]
S=1 for in in range(0,n): if A[i]%2 == 0: S+=A[i]
В какой записи указано положительное число? *
B[i]]2==0
B[i]>0
B[i]<0
B[i]<>0
B[i]]2!=0