标签:range bsp class closed 加密 ide hid splay mic
一些知识点:
^的运算优先级低于+,-
strcmp(s1, s2),从字符串的头部开始比较ASCII码,大于返回正数,小于返回负数,等于返回0。(值为第一组不同ASCII值之差)。
加密函数encode()
a1 = ‘izwhroz\"\"w\"v.K\".Ni‘ a2 = [] for i in a1: a2.append(i) print(len(a2)) for i in range(0, len(a2)): if i % 3 == 0: a2[i] = chr((ord(a2[i]) ^ 18) - 6) elif i % 3 == 1: a2[i] = chr((ord(a2[i]) ^ 18) + 6) elif i % 3 == 2: a2[i] = chr(ord(a2[i]) ^ 18 ^ 6) for i in a2: print(i, end=‘‘)
标签:range bsp class closed 加密 ide hid splay mic
原文地址:https://www.cnblogs.com/TNTBomb/p/12795073.html