not required

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
def _newThread(strAdd):
useAr = [strAdd];
useAr = useAr + strArray;
return useAr;
def _bumpThread(numAdd):
useAr2 = [strArray[numAdd]];
for x in xrange(0,len(strArray)):
if (x != numAdd):
useAr2 = useAr2 + [strArray[x]];
return useAr2;
def _output(outputting):
print outputting;
strArray = ['h','e','l','l','o']; # threads
_output(strArray);
strArray = _newThread("!"); # new thread
_output(strArray);
strArray = _bumpThread(2); # bump third thread (2+1 = 3)
_output(strArray);