COMP9021--6.19

1. chr is to get the character, ord can get the order(unicode)
chr(11035)=chr(0x2B1B)='\u2B1B' black square; 2B1A white square
int('2B1B',16)=11035

2. sorted will get the list in order, reverse=True 反向

3. sorted(['Anna', 'Ann', 'Paula'],key=str.lower),大写在小写前面

4. after add key, it is fine if only some of them are in capital letter
if we add key=ken, it will order by the length of each words

5. lambda x=lambda a: a + 2
x(3,5)    we can get 8

上一篇:QTP的那些事---通过html标签的属性获取对象(类似onclick的属性)


下一篇:sqlmap post搜索框的注入