摘要:
a = np.arange(12) b = a print (b is a) b.shape = 3,4 print (a.shape) print (id(a)) print (id(b)) >>> True (3, 4) 2052537612608 2052537612608 c = a.vie 阅读全文
摘要:
names=['yangyuying','zilingxi','ziye','muziyi'] for name in names: print(name) >>> yangyuying zilingxi ziye muziyi i=0 while i>> 1 2 3 for i in range(5): print(i) >>> 0 1 2 3 4 actor=[[... 阅读全文