AIX+Oracle11g+ASM Add Disk expansion LHDZ

2023-03-16  

1, nums is List type:
nums.count (xxx) is the number of XXX in Nums;
nums.index (xxx, number) is the index of XXX in the List behind Number’s index in Nums

2, a [::-1] to find it from behind;
3、return False
4, STRS is list type: zip (*strs): #zip () function to use iterative objects as parameters, pack the corresponding elements in the object into each one, and then return to the group composed of these meta -groups List;

strs = ["flower","flow","flight"]
zip(*strs)
print(zip(*strs))
[('f', 'f', 'f'), ('l', 'l', 'l'), ('o', 'o', 'i'), ('w', 'w', 'g')]

5, set () merger:

for each in zip(*strs):
	print(set(each))
#
set(['f'])
set(['l'])
set(['i', 'o'])
set(['g', 'w'])

6. A = {{’)’: ’:’ (’(,’] ’:’: ’:’: ’:’: ’: {’ {’
is one -on -one and search is),],],} in A, a [‘’) ’] = (
7、l=[None]
l.pop () is one of the tails in the out L in POP;
At this time len (L) = 1;
L is the indexes, 0, 1 …
From the tail is from -1, -2 to the front

source

Related Posts

Enter a string through the keyboard to determine the most characters in the string and output the character and output number of times

EasyStorr, more elegant and convenient access to data objects, accessing the local area like MAP.

Connect the database with ThinkPHP and test whether the connection is successful

Custom dialog box, progress bar, drop -down refresh, etc.

AIX+Oracle11g+ASM Add Disk expansion LHDZ

Random Posts

nodejs knowledge point

yuv420p to RGB24mirinda

GESTURE gesture notes

Android fast implementation file download (only 4 lines of code) laer

RecyclerView list Load the picture to refresh the flashing problem Bigsea