Write a label for an observation without assuming its layout. The input is already a NumPy array, so you don't need to convert it again.
Return one tuple containing these four pieces of information, in order:
Use the attributes from the previous lesson. len(observation) is a function call; the attributes don't need parentheses. The inputs here are arrays with at least one axis, not scalar arrays.
describe_observation(observation) so it returns the four-part tuple described above.Run main.py to inspect (2, (2, 3), 6, 2) for the sample grid, then Submit to check other layouts.
You can now create an array and describe its structure. After the quiz, you'll generate regular sequences and starter grids without typing every value by hand.