save_toy_nii ( ndarray , filename ) :
toy = nb . Nifti1Image ( ndarray , np . eye ( 4 ) )
nb . nifti1 . save ( toy , filename )
return filename

def save_toy_nii ( ndarray , filename ) :
    toy = nb . Nifti1Image ( ndarray , np . eye ( 4 ) )
    nb . nifti1 . save ( toy , filename )
    return filename

次に示すpythonコードの誤りを修正しなさい。