Python
s=0
p=1
i=10
while i <=30:
s+=i
p*=i
i+=2
print('Сумма=', s, ' Произведение=', p)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python
s=0
p=1
i=10
while i <=30:
s+=i
p*=i
i+=2
print('Сумма=', s, ' Произведение=', p)