加载中
Python教程-字典(1)

d = {key1 : value1, key2 : value2 } dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'} dict1 = { 'abc': 456 }; dict2 = { 'abc': 123, 98.6: 37 }; x.get(key):获得字典中key...

2016/12/06 16:03
39
Python教程-元组

1、 aTuple = (123, ‘abc’,4.56,[‘inner’,’tuple’]) bTuple = (None, ‘something to see here’) 2、 t=([‘xyz’,123], 23, -103.4) t=t*2 t= t+(‘free’,’easy’) 3、成员关系操...

2016/12/06 15:23
64
Python教程-列表

1、创建赋值 aList = [123, 'abc', 4.56, ['inner', 'list']] bList = [None, 'something to see here'] 2、 切片 [] [:] 连接 + 重复操作符 * 3、序列类型函数 len() max() min() sorted(...

2016/12/06 15:21
118
"tabhost requires a tabwidget with id..."问题解决

当出现:tabhost requires a tabwidget with id 。。。。问题时,是因为 android:id="@android:id/tabcontent" 这个写成了 android:id="@+id/tabcontent"...

没有更多内容

加载失败,请刷新页面

返回顶部
顶部