+ 2

How can I select one result of level?

import numpy as np levels =np.array([1,2,3,4,5,6]) for level in levels: level *= 10 print(level) print(level[1])

18th Apr 2021, 2:22 AM
Yohanes Prasdya
Yohanes Prasdya - avatar
1 Odpowiedź
0
Unindent your last line, slice your list outside the loop
18th Apr 2021, 2:49 AM
Steven M
Steven M - avatar