[lang-ref] ( slice_from_m_to_n ) ( python )
def test_slice_from_m_to_n():
# text[m:n+1]
text = '0123456789'
m = 3
n = 5
part = text[m:n+1]
assert part == '345'
def test_slice_from_m_to_n():
# text[m:n+1]
text = '0123456789'
m = 3
n = 5
part = text[m:n+1]
assert part == '345'