logo

Crowdly

Browser

Add to Chrome

次のコードを実行したとき,どのような出力を得るか?   (import numpy as npを実行しているものとする )   ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

次のコードを実行したとき,どのような出力を得るか? 

(import numpy as npを実行しているものとする) 

a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9]) 

b = a[(a < 5) | (a > 5) & (a % 2 == 0)] 

c = b[b % 2 != 0] 

print(c) 

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on letus.ed.tus.ac.jp?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome