Сколько операций умножения будет выполнено в процессе работы программы?

PYTHON

s = 1
for i in range (0, n * 2):
s = s * a[i]
1) n
2) n * 2
3) 5
4) a [i] + 1
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.