Skip to content
ml-recall

#integer-overflow

1 question from NumPy

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedNumPy

What does the last line print?

a = np.array([250, 5], dtype=np.uint8)
b = a + 10
print(b[0])

an integer