x,y in mylist[i]
saves the name of a certain tuple in x and the number in y.
for x,y in mylist
cycles through all the tuples in mylist.
print([x for x,y in mylist])
prints the x of every tuple.
print([y for x,y in mylist])
would print all the numbers.
print([z for z in mylist])
would print all the tuples.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…