Задача Задача №281056
А
А
Конечно, вот решение:
a = int(input("Введите число a: ")) a_squared = a ** 2 a_cubed = a ** 3 a_to_the_fourth_power = a ** 4 a_to_the_fifth_power = a ** 5
print("a = ", a, ", a^2 = ", a_squared, ", a^3 = ", a_cubed, ", a^4 = ", a_to_the_fourth_power, ", a^5 = ", a_to_the_fifth_power)
