Ученик набрал код программы:
A = [5, 8, 3, 9, 2, -2, 6, 2, 7, 4]
k = 0
for n in A:
if n % 2 == 0: k+=1
print(k)
В результате выполнения данного кода на экране будет значение: 6, 4, 20, 24, 5
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.