Previous: Operator Times, Up: Expressions



6.4.20 The Operator /

This operator may only be used in the following ways:

list1 / list2
This yields the list which contains all elements of list1 which are not elements of list2.
list / number
This yields the list which contains all elements of list without the leftmost number elements, if number is positive, or without the rightmost -number elements, if number is negative.
number1 / number2
Here, number2 must not be 0. This yields the quotient of number1 and number2.