两个for参数的for循环写法
if __name__ == '__main__':
    # zip函数
    a = [1, 2, 3]
    b = [4, 5, 6]
    c = [4, 5, 6, 7, 8]
    p = zip(a, b)
    for x in p:
        print(x)
    '''结果
        (1, 4)
        (2, 5)
        (3, 6)
    '''
    w=zip(a,c)
    for x in w:
        print(w)
    #     两个参数,谁先结束了,循环也就结束了
    for x,c in zip(range(0,6),range(0,5)):
        print(x,c)