1 Matching Annotations
- Sep 2020
-
greenteapress.com greenteapress.com
-
Chapter 12Tuples
tuples is a sequence of values this can be anytype and they are indexed by integers and tuples are immutable in().operations like addition ,multiplication works on tuples.they can return multiple values. Tuples are immutable which means you cannot update or change the values of tuple elements. An operation that collects multiple arguments into a tuple is known as gather. an operation that makes a sequence behaves like multiple arguments is known as scatter. .And the tuples we cannot modify the values. and we can assign the values to the tuples.
-