prog3_15.py

x = int(input("xは?"))
y = int(input("yは?"))
z = (-x) ** y
print("答えは", z, "です")

# プログラム3-15(ベき乗と単項 -)