import itertools
for x1,x2 in itertools.product([1, 5, 8], [0.5, 4]):
print((x1,x2))
结果如下
情况2(一个列表的迭代)
import itertools
# for x1,x2 in itertools.product([1, 5, 8], [0.5, 4]):
# print((x1,x2))
# print("*"*50)
for x1,x2 in itertools.combinations([1,5,8],2):
print((x1,x2))
[极客大挑战 2019]LoveSQL 看到这种就肯定先想到万能密码,试试,得到了用户名和密码 总结了一些万能密码: or 11
oror
admin
admin--
admin or 44--
admin or 11--
admin888
"or "a""a
admin or 22#
a having 11#
a havin…