e034: P40 eval() 02 數學運算式01
Tags : Python
Accepted rate : 0人/0人 (0%) [非即時]
評分方式:
Tolerant

最近更新 : 2024-12-26 14:53

Content

eval() 函式可輸入一個數學運算式,例如:

a = eval("3+4*2")
print(a)

Input
Output
Sample Input #1


											
										
Sample Output #1
11
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (100%): 1.0s , <1K
Hint :
Tags:
Python
出處:
[管理者: zero(育達管理員) ]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」