Commit e2036874 authored by sumet's avatar sumet

2

parent 1d3a4e06
def sub(M, m, n, x, y):
import numpy as np
M=np.array(M)
print (M[x:x+m , y:y+n])
M = [
[3, 2, 1, 2],
[5, 4, 3, 3],
[7, 3, 6, 4]
]
"""
Example test.
"""
from hamcrest import (
assert_that,
equal_to,
is_,
)
def test_math():
assert_that(1 + 1, is_(equal_to(2)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment