modules_array_subscrstep.py 191 B

123456789
  1. """
  2. categories: Modules,array
  3. description: Subscript with step != 1 is not yet implemented
  4. cause: Unknown
  5. workaround: Unknown
  6. """
  7. import array
  8. a = array.array('b', (1, 2, 3))
  9. print(a[3:2:2])