Найти
-
Пользователи
Полная версия:
Помогите пожалуйста
Начало
»
Центр помощи
»
Помогите пожалуйста
1
qwerty213
Дек. 17, 2017 13:47:29
. Даны a и n. Вычислить p= (a+1)^2 (a+2)^2…(a+n)^2
DamMercul
Дек. 17, 2017 20:35:05
nums
=
[]
while
True
:
a
=
int
(
input
())
n
=
int
(
input
())
nums
.
append
((
a
+
n
)
**
2
)
Остановку цикла сделаешь как надо сам.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here
.
Powered by
DjangoBB