Ответ:
Python 3.7.4
Объяснение:
>>> p = 0
>>> a = 4
>>> for i in range(5):
a = 2 * a - 1
p = p + a
>>> print (a)
97
>>> print (p)
191
>>>
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Python 3.7.4
Объяснение:
>>> p = 0
>>> a = 4
>>> for i in range(5):
a = 2 * a - 1
p = p + a
>>> print (a)
97
>>> print (p)
191
>>>