From d72cee2f60c103c1e627c7042b5bcf2a3c60d3da Mon Sep 17 00:00:00 2001 From: shariik Date: Tue, 16 Dec 2025 11:51:32 +0500 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=2013?= =?UTF-8?q?=20=D0=BF=D0=B0=D1=80=D0=B0=D0=B3=D1=80=D0=B0=D1=84=203.1=20?= =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3.1_lesson.13.20.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 3.1_lesson.13.20.py diff --git a/3.1_lesson.13.20.py b/3.1_lesson.13.20.py new file mode 100644 index 0000000..34f770d --- /dev/null +++ b/3.1_lesson.13.20.py @@ -0,0 +1,16 @@ +***Задание 13 Параграф 3.1*** +***Напишите программу, которая возводит в заданную степень все числа, что передали пользователи.*** + + + +if name == "main": + count = int(input()) + numbers = [] + + for _ in range(count): + numbers.append(int(input())) + + power = int(input()) + + for number in numbers: + print(number ** power) \ No newline at end of file