A
Size: a a a
АА
A
A
БГ
БГ
АА
A
БГ
print(map[:5])
# prints "Hello"
# update content using slice notation;
# note that new content must have same size
map[6:] = " world!\n"
N
БГ
A
A
БГ
print(map[:5])
# prints "Hello"
# update content using slice notation;
# note that new content must have same size
map[6:] = " world!\n"
БГ
A
A
БГ
БГ