###### tags: `python-TQC` # TQC+ 程式語言Python 504 次方計算 1. 題目說明: 請開啟PYD504.py檔案,依下列題意進行作答,依使用者輸入的整數作為參數傳遞進行公式計算,使輸出值符合題意要求。作答完成請另存新檔為PYA504.py再進行評分。  ```python= def compute(a,b): return a**b a = int(input()) b = int(input()) print(compute(a,b)) ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up