有人能向我解释一下,为什么解压压缩对象(z1)会使初始对象(z1)为空
mutants = ['charles xavier', 'bobby drake',
'kurt wagner', 'max eisenhardt', 'kitty pride']
powers = ['telepathy', 'thermokinesis',
'teleportation', 'magnetokinesis', 'intangibility']
z1 = zip(mutants, powers)
print(*z1)
print(*z1)
线程ID是唯一的;但您需要注意,一旦线程终止,JVM可能会重用线程ID
https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#getId
相关问题 更多 >
编程相关推荐