diff options
Diffstat (limited to 'tests/basics/bytearray1.py')
-rw-r--r-- | tests/basics/bytearray1.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/bytearray1.py b/tests/basics/bytearray1.py index e564165b9f..02066cafc3 100644 --- a/tests/basics/bytearray1.py +++ b/tests/basics/bytearray1.py @@ -13,3 +13,7 @@ s = 0 for i in a: s += i print(s) + +print(a[1:]) +print(a[:-1]) +print(a[2:3]) |