标题: 貌似應該寫成這樣子.對應求助帖子的一帖.
作者: 渔眼 @Ta
时间: 2012-10-18
def cn(x):return x.decode('u8')
import appuifw,e32,globalui,os,math,random
b=random.randint(1,1000000000)
t=appuifw.query(cn("请输入數字"),"number")
m=math.hypot(t,b)
print cn("當b為:")+str(b)+cn("結果寫:")+str(m)
[隐藏样式|查看源码]