006-selectionlist.py
来自「basic python symbian 60」· Python 代码 · 共 11 行
PY
11 行
import appuifwcolors = [u"red", u"green", u"blue", u"brown"]index = appuifw.selection_list(colors, 1)if index == 2: print "blue is correct!"else: print "Bzz! " + colors[index] + " is not correct"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?