[lang-ref] ( slice_from_m_with_length ) ( python )
def test_slice_from_m_with_length():
# text[m:m+length]
text = '0123456789'
m = 3
length = 5
part = text[m:m+length]
assert part == '34567'
def test_slice_from_m_with_length():
# text[m:m+length]
text = '0123456789'
m = 3
length = 5
part = text[m:m+length]
assert part == '34567'