攝影或3C

Python TQC考題504 次方計算,def compute(x,y):return x**y

def compute(x,y):
return x**y

x=eval(input())
y=eval(input())

ans=compute(x,y)
print(ans)

 

“””

簡單到無需自定義函數

只是練習如何自定義函數

14, 3是使用者input()

不要直接寫進去

compute(14,3)

“””

 

儲蓄保險王

儲蓄險是板主最喜愛的儲蓄工具,最喜愛的投資理財工具則是ETF,最喜愛的省錢工具則是信用卡