Найти - Пользователи
Полная версия: Помогите пожалуйста
Начало » Центр помощи » Помогите пожалуйста
1
qwerty213
. Даны a и n. Вычислить p= (a+1)^2 (a+2)^2…(a+n)^2
DamMercul
 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