python基礎知識-列表,元組,字典

列表(list)

賦值方法:

?l = [11,45,67,34,89,23]

l = list()

列表的方法:

 1 #!/usr/bin/env python
 2 
 3 class list(object):
 4     """
 5     list() -> new empty list
 6     list(iterable) -> new list initialized from iterable's items
 7     """
 8     def append(self, p_object): # real signature unknown; restored from __doc__
 9         '''在列表末尾添加一個新的對象'''
10         """ L.append(object) -> None -- append object to end """
11         pass
12 
13     def clear(self): # real signature unknown; restored from __doc__
14         '''清空列表中的所有對象'''
15         """ L.clear() -> None -- remove all items from L """
16         pass
17 
18     def copy(self): # real signature unknown; restored from __doc__
19         '''拷貝一個新的列表'''
20         """ L.copy() -> list -- a shallow copy of L """
21         return []
22 
23     def count(self, value): # real signature unknown; restored from __doc__
24         '''某個元素在列表中出現的次數'''
25         """ L.count(value) -> integer -- return number of occurrences of value """
26         return 0
27 
28     def extend(self, iterable): # real signature unknown; restored from __doc__
29         '''在列表的末尾追加另外一個列表的多個值'''
30         """ L.extend(iterable) -> None -- extend list by appending elements from the iterable """
31         pass
32 
33     def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__
34         '''查找給定值第一次出現的位置'''
35         """
36         L.index(value, [start, [stop]]) -> integer -- return first index of value.
37         Raises ValueError if the value is not present.
38         """
39         return 0
40 
41     def insert(self, index, p_object): # real signature unknown; restored from __doc__
42         '''指定位置插入元素'''
43         """ L.insert(index, object) -- insert object before index """
44         pass
45 
46     def pop(self, index=None): # real signature unknown; restored from __doc__
47         '''移除列表中最后一個元素,并獲取這個元素'''
48         """
49         L.pop([index]) -> item -- remove and return item at index (default last).
50         Raises IndexError if list is empty or index is out of range.
51         """
52         pass
53 
54     def remove(self, value): # real signature unknown; restored from __doc__
55         '''移除列表中給定值的第一次出現的元素'''
56         """
57         L.remove(value) -> None -- remove first occurrence of value.
58         Raises ValueError if the value is not present.
59         """
60         pass
61 
62     def reverse(self): # real signature unknown; restored from __doc__
63         '''反轉列表'''
64         """ L.reverse() -- reverse *IN PLACE* """
65         pass
66 
67     def sort(self, key=None, reverse=False): # real signature unknown; restored from __doc__
68         '''對列表中的元素排序'''
69         """ L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE* """
70         pass
list

方法示例:

####
append()
>>>?l?=?[11,45,67,34,89,23]
>>>?l.append(44)
>>>?l
[11,?45,?67,?34,?89,?23,?44]
####
>>>?l
[1,?4,?7,?11,?23,?34,?34,?44,?44,?45,?67,?89]
>>>?l.clear()
>>>?l
[]
####
copy()
>>>?l
[11,?45,?67,?34,?89,?23,?44]
>>>?i?=?l.copy()
>>>?i
[11,?45,?67,?34,?89,?23,?44]
####
count()
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34]
>>>?l.count(44)
3
####
extend()
>>>?i?=?[1,4,7,6]
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34]
>>>?l.extend(i)
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7,?6]
####
indexi()
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7,?6]
>>>?l.index(44)
6
>>>?l.index(45)
1
####
pop()
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7,?6]
>>>?l.pop()
6
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7]
####
remove()
>>>?l
[11,?45,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7]
>>>?l.remove(45)
>>>?l
[11,?67,?34,?89,?23,?44,?44,?44,?45,?34,?1,?4,?7]
>>>?l.remove(44)
>>>?l
[11,?67,?34,?89,?23,?44,?44,?45,?34,?1,?4,?7]
####
reverse()
>>>?l
[11,?67,?34,?89,?23,?44,?44,?45,?34,?1,?4,?7]
>>>?l.reverse()
>>>?l
[7,?4,?1,?34,?45,?44,?44,?23,?89,?34,?67,?11]
####
sort()
>>>?l
[7,?4,?1,?34,?45,?44,?44,?23,?89,?34,?67,?11]
>>>?l.sort()
>>>?l
[1,?4,?7,?11,?23,?34,?34,?44,?44,?45,?67,?89]
####
元組:
元組中的元素是不可以改變的。
賦值方法:
tup?=?'a','b','c'
tup = ('a',?'b',?'c')

?元組的方法:

  1 #!/usr/bin/env python
  2 class tuple(object):
  3     """
  4     tuple() -> empty tuple
  5     tuple(iterable) -> tuple initialized from iterable's items
  6 
  7     If the argument is a tuple, the return value is the same object.
  8     """
  9     def count(self, value): # real signature unknown; restored from __doc__
 10         '''某個元素在元素中出現的次數'''
 11         """ T.count(value) -> integer -- return number of occurrences of value """
 12         return 0
 13 
 14     def index(self, value, start=None, stop=None): # real signature unknown; restored from __doc__
 15         '''查找給定值第一次出現的位置'''
 16         """
 17         T.index(value, [start, [stop]]) -> integer -- return first index of value.
 18         Raises ValueError if the value is not present.
 19         """
 20         return 0
 21 
 22     def __add__(self, *args, **kwargs): # real signature unknown
 23         """ Return self+value. """
 24         pass
 25 
 26     def __contains__(self, *args, **kwargs): # real signature unknown
 27         """ Return key in self. """
 28         pass
 29 
 30     def __eq__(self, *args, **kwargs): # real signature unknown
 31         """ Return self==value. """
 32         pass
 33 
 34     def __getattribute__(self, *args, **kwargs): # real signature unknown
 35         """ Return getattr(self, name). """
 36         pass
 37 
 38     def __getitem__(self, *args, **kwargs): # real signature unknown
 39         """ Return self[key]. """
 40         pass
 41 
 42     def __getnewargs__(self, *args, **kwargs): # real signature unknown
 43         pass
 44 
 45     def __ge__(self, *args, **kwargs): # real signature unknown
 46         """ Return self>=value. """
 47         pass
 48 
 49     def __gt__(self, *args, **kwargs): # real signature unknown
 50         """ Return self>value. """
 51         pass
 52 
 53     def __hash__(self, *args, **kwargs): # real signature unknown
 54         """ Return hash(self). """
 55         pass
 56 
 57     def __init__(self, seq=()): # known special case of tuple.__init__
 58         """
 59         tuple() -> empty tuple
 60         tuple(iterable) -> tuple initialized from iterable's items
 61 
 62         If the argument is a tuple, the return value is the same object.
 63         # (copied from class doc)
 64         """
 65         pass
 66 
 67     def __iter__(self, *args, **kwargs): # real signature unknown
 68         """ Implement iter(self). """
 69         pass
 70 
 71     def __len__(self, *args, **kwargs): # real signature unknown
 72         """ Return len(self). """
 73         pass
 74 
 75     def __le__(self, *args, **kwargs): # real signature unknown
 76         """ Return self<=value. """
 77         pass
 78 
 79     def __lt__(self, *args, **kwargs): # real signature unknown
 80         """ Return self<value. """
 81         pass
 82 
 83     def __mul__(self, *args, **kwargs): # real signature unknown
 84         """ Return self*value.n """
 85         pass
 86 
 87     @staticmethod # known case of __new__
 88     def __new__(*args, **kwargs): # real signature unknown
 89         """ Create and return a new object.  See help(type) for accurate signature. """
 90         pass
 91 
 92     def __ne__(self, *args, **kwargs): # real signature unknown
 93         """ Return self!=value. """
 94         pass
 95 
 96     def __repr__(self, *args, **kwargs): # real signature unknown
 97         """ Return repr(self). """
 98         pass
 99 
100     def __rmul__(self, *args, **kwargs): # real signature unknown
101         """ Return self*value. """
102         pass
tuple

方法示例:

####

count()

>>> tup = ('a','b','c','b')
>>> tup.count('b')
2

####
index()
>>> tup = ('a','b','c','b')

>>> tup.index('b')
1

###
字典:
字典(dict):字典為一對鍵(key)和值(value)的對應關系,中間使用“:”分隔開。
key在字典中是唯一的,字典是無序的。
賦值字典:
dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
字典的方法:
  1 #!/usr/bin/env python
  2 class dict(object):
  3     """
  4     dict() -> new empty dictionary
  5     dict(mapping) -> new dictionary initialized from a mapping object's
  6         (key, value) pairs
  7     dict(iterable) -> new dictionary initialized as if via:
  8         d = {}
  9         for k, v in iterable:
 10             d[k] = v
 11     dict(**kwargs) -> new dictionary initialized with the name=value pairs
 12         in the keyword argument list.  For example:  dict(one=1, two=2)
 13     """
 14     def clear(self): # real signature unknown; restored from __doc__
 15         '''清空字典'''
 16         """ D.clear() -> None.  Remove all items from D. """
 17         pass
 18 
 19     def copy(self): # real signature unknown; restored from __doc__
 20         '''拷貝字典,淺拷貝'''
 21         """ D.copy() -> a shallow copy of D """
 22         pass
 23 
 24     @staticmethod # known case
 25     def fromkeys(*args, **kwargs): # real signature unknown
 26         '''首先有一個列表,這個列表將作為一個字典的key,如果不給值則所有key的值為空,如果給值就將值設置為key的值'''
 27         """ Returns a new dict with keys from iterable and values equal to value. """
 28         pass
 29 
 30     def get(self, k, d=None): # real signature unknown; restored from __doc__
 31         '''根據key取值,如果沒有這個key,不返回值'''
 32         """ D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None. """
 33         pass
 34 
 35     def items(self): # real signature unknown; restored from __doc__
 36         '''所有key和值組成列表的形式'''
 37         """ D.items() -> a set-like object providing a view on D's items """
 38         pass
 39 
 40     def keys(self): # real signature unknown; restored from __doc__
 41         '''所有key組成列表的形式'''
 42         """ D.keys() -> a set-like object providing a view on D's keys """
 43         pass
 44 
 45     def pop(self, k, d=None): # real signature unknown; restored from __doc__
 46         '''獲取key的值,并從字典中刪除'''
 47         """
 48         D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
 49         If key is not found, d is returned if given, otherwise KeyError is raised
 50         """
 51         pass
 52 
 53     def popitem(self): # real signature unknown; restored from __doc__
 54         '''獲取鍵值對,并在字典中刪除,隨機的'''
 55         """
 56         D.popitem() -> (k, v), remove and return some (key, value) pair as a
 57         2-tuple; but raise KeyError if D is empty.
 58         """
 59         pass
 60 
 61     def setdefault(self, k, d=None): # real signature unknown; restored from __doc__
 62         '''如果key不存在,則創建,如果key存在則返回key的值,不會修改key的值'''
 63         """ D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D """
 64         pass
 65 
 66     def update(self, E=None, **F): # known special case of dict.update
 67         '''更新'''
 68         """
 69         D.update([E, ]**F) -> None.  Update D from dict/iterable E and F.
 70         If E is present and has a .keys() method, then does:  for k in E: D[k] = E[k]
 71         If E is present and lacks a .keys() method, then does:  for k, v in E: D[k] = v
 72         In either case, this is followed by: for k in F:  D[k] = F[k]
 73         """
 74         pass
 75 
 76     def values(self): # real signature unknown; restored from __doc__
 77         '''所有值的列表形式'''
 78         """ D.values() -> an object providing a view on D's values """
 79         pass
 80 
 81     def __contains__(self, *args, **kwargs): # real signature unknown
 82         """ True if D has a key k, else False. """
 83         pass
 84 
 85     def __delitem__(self, *args, **kwargs): # real signature unknown
 86         """ Delete self[key]. """
 87         pass
 88 
 89     def __eq__(self, *args, **kwargs): # real signature unknown
 90         """ Return self==value. """
 91         pass
 92 
 93     def __getattribute__(self, *args, **kwargs): # real signature unknown
 94         """ Return getattr(self, name). """
 95         pass
 96 
 97     def __getitem__(self, y): # real signature unknown; restored from __doc__
 98         """ x.__getitem__(y) <==> x[y] """
 99         pass
100 
101     def __ge__(self, *args, **kwargs): # real signature unknown
102         """ Return self>=value. """
103         pass
104 
105     def __gt__(self, *args, **kwargs): # real signature unknown
106         """ Return self>value. """
107         pass
108 
109     def __init__(self, seq=None, **kwargs): # known special case of dict.__init__
110         """
111         dict() -> new empty dictionary
112         dict(mapping) -> new dictionary initialized from a mapping object's
113             (key, value) pairs
114         dict(iterable) -> new dictionary initialized as if via:
115             d = {}
116             for k, v in iterable:
117                 d[k] = v
118         dict(**kwargs) -> new dictionary initialized with the name=value pairs
119             in the keyword argument list.  For example:  dict(one=1, two=2)
120         # (copied from class doc)
121         """
122         pass
123 
124     def __iter__(self, *args, **kwargs): # real signature unknown
125         """ Implement iter(self). """
126         pass
127 
128     def __len__(self, *args, **kwargs): # real signature unknown
129         """ Return len(self). """
130         pass
131 
132     def __le__(self, *args, **kwargs): # real signature unknown
133         """ Return self<=value. """
134         pass
135 
136     def __lt__(self, *args, **kwargs): # real signature unknown
137         """ Return self<value. """
138         pass
139 
140     @staticmethod # known case of __new__
141     def __new__(*args, **kwargs): # real signature unknown
142         """ Create and return a new object.  See help(type) for accurate signature. """
143         pass
144 
145     def __ne__(self, *args, **kwargs): # real signature unknown
146         """ Return self!=value. """
147         pass
148 
149     def __repr__(self, *args, **kwargs): # real signature unknown
150         """ Return repr(self). """
151         pass
152 
153     def __setitem__(self, *args, **kwargs): # real signature unknown
154         """ Set self[key] to value. """
155         pass
156 
157     def __sizeof__(self): # real signature unknown; restored from __doc__
158         """ D.__sizeof__() -> size of D in memory, in bytes """
159         pass
160 
161     __hash__ = None
dict

?

方法示例:

####
clear()
>>>?dic
{'k1':?'v1',?'k2':?'v2',?'k3':?'v3'}
>>>?dic.clear()
>>>?dic
{}
####
copy()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic2?=?dic.copy()
>>>?dic2
{'k1':?'v1',?'k2':?'v2',?'k3':?'v3'}
####
>>>?l?=?[2,3,5,6,7]
>>>?d?=?dict.fromkeys(l)
>>>?d
{2:?None,?3:?None,?5:?None,?6:?None,?7:?None}
>>>?d?=?dict.fromkeys(l,'a')
>>>?d
{2:?'a',?3:?'a',?5:?'a',?6:?'a',?7:?'a'}
####
items()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic.items()
dict_items([('k1',?'v1'),?('k2',?'v2'),?('k3',?'v3')])
####
keys()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic.keys()
dict_keys(['k1',?'k2',?'k3'])
####
pop()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic.pop('k2')
'v2'
>>>?dic
{'k1':?'v1',?'k3':?'v3'}
####
popitme()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic.popitem()
('k2',?'v2')
>>>?dic
{'k1':'v1','k3':'v3'}
####
setdefault()
>>>?dic?=?{'k1':'v1','k2':'v2','k3':'v3'}
>>>?dic.setdefault('k2')
'v2'
>>>?dic.setdefault('k4','v4')
'v4'
>>>?dic
{'k1':?'v1',?'k4':?'v4',?'k2':?'v2',?'k3':?'v3'}
####
update()
>>>?dic
{'k1':?'v1',?'k4':?'v4',?'k2':?'v2',?'k3':?'v3'}
>>>?dic2
{'k5':?'v5'}
>>>?dic.update(dic2)
>>>?dic
{'k1':?'v1',?'k5':?'v5',?'k4':?'v4',?'k2':?'v2',?'k3':?'v3'}
>>>?dic2
{'k5':?'v5'}
####
values()
>>>?dic
{'k1':?'v1',?'k2':?'v2',?'k3':?'v3'}
>>>?dic.values()
dict_values(['v1',?'v2',?'v3'])
####

轉載于:https://www.cnblogs.com/binges/p/5118998.html

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/257816.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/257816.shtml
英文地址,請注明出處:http://en.pswp.cn/news/257816.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

車站計算機聯鎖系統的仿真設計,車站計算機聯鎖仿真設計.doc

車站計算機聯鎖仿真設計2012 屆 交通運輸 學院專 業學 號 2008學生姓名指導教師完成日期 2012年 月日計算機聯鎖是保證車站內列車和調車作業安全&#xff0c;提高車站通過能力的一種信號設備。設計以沙盤模型為根據&#xff0c;練習制作聯鎖信號圖表&#xff0c;使用Visual Bas…

如何解決機器學習中的數據不平衡問題?

在機器學習任務中&#xff0c;我們經常會遇到這種困擾&#xff1a;數據不平衡問題。 數據不平衡問題主要存在于有監督機器學習任務中。當遇到不平衡數據時&#xff0c;以總體分類準確率為學習目標的傳統分類算法會過多地關注多數類&#xff0c;從而使得少數類樣本的分類性能下降…

ubuntu每次登陸都用root賬號登陸

sudo -s 進入 root 用戶權限模式 vi /etc/lightdm/lightdm.conf [SeatDefaults] greeter-sessionunity-greeter user-sessionUbuntu greeter-show-manual-logintrue allow-guestfasle 重啟后再登陸就會 直接用root登陸了 版權聲明&#xff1a;本文為博主原創文章&#xff0c;未…

js-BOM

私有變量&#xff1a; 1、在一個實例上調用setName&#xff08;&#xff09;會影響所有的實例 BOM&#xff1a; 1、全局變量不能通過delete操作符刪除&#xff0c;而直接在window對象上定義的屬性可以 2、嘗試訪問為聲明的變量會拋出錯誤&#xff0c;但通過查詢window對象&…

計算機組成實驗v代表什么,2014計算機組成原理實驗指導V1.3.docx

文檔介紹&#xff1a;實驗一運算器組成實驗實驗目的熟悉Logisim軟件平臺。掌握運算器基本工作原理掌握運算溢出檢測的原理和實現方法;理解有符號數和無符號數運算的區別;理解基于補碼的加/減運算實現原理;熟悉運算器的數據傳輸通路。實驗環境Logisim是一款數字電路模擬的教育軟…

四大技巧輕松搞定云容器

云容器技術&#xff0c;作為傳統虛擬化管理程序的一種替代品&#xff0c;正稱霸著云市場。容器是輕量級的&#xff0c;并提供增強的便攜性&#xff0c;允許應用在平臺之間遷移&#xff0c;而不需要開發者重做或重新架構應用。但是&#xff0c;盡管其好處讓開發人員感到驚嘆&…

Android 圖文混排 通過webview實現并實現點擊圖片

在一個開源項目看到是用的webview 實現的 1. 這是在asset中的一個模板html <html> <head> <title>News Detail</title> <meta name"viewport" content"widthdevice-width, minimum-scale0.5, initial-scale1.2, maximum-scale2.0…

h5engine造輪子

基于學習的造輪子&#xff0c;這是一個最簡單&#xff0c;最基礎的一個canvas渲染引擎&#xff0c;通過這個引擎架構&#xff0c;可以很快的學習canvas渲染模式&#xff01; 地址&#xff1a;https://github.com/RichLiu1023/h5engine 這是一個比較有意思的h5渲染引擎&#xff…

計算機硬件選型報價,組裝電腦硬件該怎么選擇?這幾個硬件要舍得花錢,千萬別買錯了!...

原標題&#xff1a;組裝電腦硬件該怎么選擇&#xff1f;這幾個硬件要舍得花錢&#xff0c;千萬別買錯了&#xff01;組裝電腦是多硬件組合的產物&#xff0c;每一個硬件對于電腦的性能都是有影響的&#xff0c;影響的大小與電腦的硬件有直接關系&#xff0c;有些硬件就要舍得花…

2017 省賽選撥 想打架嗎?算我一個!所有人,都過來!(3) 遞推 斐波拉數列的應用...

想打架嗎&#xff1f;算我一個&#xff01;所有人&#xff0c;都過來&#xff01;(3) Submit Page Summary Time Limit: 2 Sec Memory Limit: 128 Mb Submitted: 28 Solved: 9 Description 現在《爐石傳說》這款卡牌游戲已經風靡全球。2015年加入環境的“…

UITableViewCell中cell重用機制導致內容重復的方法

UITableView繼承自UIScrollview,是蘋果為我們封裝好的一個基于scroll的控件。上面主要是一個個的UITableViewCell,可以讓UITableViewCell響應一些點擊事件&#xff0c;也可以在UITableViewCell中加入UITextField或者UITextView等子視圖&#xff0c;使得可以在cell上進行文字編輯…

高級會計師計算機考試中級,會計師需要計算機等級考試嗎

塵伴考證達人06-19TA獲得超過671個贊[color#000][font宋體][size3][alignleft]廣東省高級會計師評審職稱外語&#xff0c;執行《關于調整完善我省職稱外語政策的通知》(粵人發〔2018〕120號)[/align][alignleft]三、報考職稱外語考試的等級要求[b][size3](一)申報高教、科研、衛…

一 手游開發工具cocos2d-x editor初識

可學習的demo&#xff1a; 7個實戰項目 flappybird&#xff08;飛揚小鳥&#xff09;、popstar&#xff08;消滅星星&#xff09;、fruitninja&#xff08;水果忍者&#xff09;、2048&#xff08;數度消除&#xff09;。 moonwarriors&#xff08;月亮戰神&#xff09;、frui…

Provisioning Services 7.6 入門到精通系列之七:創建虛擬磁盤

在上一章節完成了主目標設備的準備&#xff0c;今天將揭曉如何通過映像向導創建虛擬磁盤。1.1 點擊開始菜單”映像向導”1.2 在映像向導點擊”下一步“1.3 輸入PVS服務器信息&#xff0c;下一步1.4 點擊”新建虛擬磁盤”1.5 輸入新虛擬磁盤的相關信息&#xff0c;下一步1.6 配置…

在使用多表的查詢顯示的時候 建議使用視圖

如果沒有查詢只是需要第一次顯示的話用linq表達式就可以了&#xff0c;如果還涉及到查詢的話&#xff0c;linq表達式就很麻煩了&#xff0c;我還不會。所以我們用視圖做查詢就方便很多了。轉載于:https://www.cnblogs.com/woshijishu3/p/4207567.html

大型網站技術架構03

永無止境&#xff1a;網站的伸縮性架構 1. 所謂網站的伸縮性是指不需要改變網站的軟硬件設計&#xff0c;僅僅通過改變部署的服務器數量就可以擴大或者縮小網站的服務能力。 2. 網站架構的伸縮性設計&#xff1a; 1). 不同功能進行物理分離實現伸縮性&#xff1a;通過增加服務器…

全國職業院校技能大賽軟件測試題目,我校喜獲2018全國職業院校技能大賽“軟件測試”賽項一等獎...

九江職院新聞網訊(信息工程學院)5月31日&#xff0c;從2018全國職業院校技能大賽傳來喜訊&#xff0c;由我校信息工程學院教師艾迪、朱虎平指導&#xff0c;學生郭星宏、賴閩、吳宗霖組成的競賽團隊&#xff0c;代表江西省在高職組“軟件測試”賽項中榮獲團體一等獎的佳績。為積…

兩個數組a[N],b[N],其中A[N]的各個元素值已知,現給b[i]賦值,b[i] = a[0]*a[1]*a[2]…*a[N-1]/a[i];...

轉自&#xff1a;http://blog.csdn.net/shandianling/article/details/8785269 問題描述&#xff1a;兩個數組a[N]&#xff0c;b[N]&#xff0c;其中A[N]的各個元素值已知&#xff0c;現給b[i]賦值&#xff0c;b[i] a[0]*a[1]*a[2]…*a[N-1]/a[i]&#xff1b; 要求&#xff1a…

protobuf---messge嵌套get set

package test_namespace;message ChildMsg {optional string child 1; }message FatherMsg {optional string father 1; optional ChildMsg child_msg 2; } 或者 message FatherMsg {optional string father 1; message ChildMsg {optional string child 1;}optiona…

南方科技大學計算機交換生,國際合作 – 合作交流分類 – 南方科技大學生物醫學工程系...

2019年秋季學期本科生赴麻省理工交流學習項目申請須知本項目是根據南方科技大學與麻省理工簽訂的合作協議&#xff0c;約定我校每年將選派不超過6名學生前往麻省理工學院進行為期一年的交流學習&#xff0c;學生僅可在機械工程系內選擇課程。本批次將選拔優秀本科生于2019-2010…