Python Programming: The Beginner's Guide to Python Programming by David Yang

Python Programming: The Beginner's Guide to Python Programming by David Yang

Author:David Yang
Language: eng
Format: azw3, epub
Publisher: UNKNOWN
Published: 2017-05-23T07:00:00+00:00


Result

Tup a: television

Tup b: m, n

Indexing

Due to the fact that tuples are a sequence, you are going to be working with indexes so that you know which position an element is occupying in your tuple. The index is going to be used whenever you need to splice the tuple in order to create a new tuple or to gain access to the elements that are listed in the tuple you are working with.

Example

Tup a = (‘television,' ‘radio,' ‘books,' ‘Xbox’)

Television is on index zero since that is where the index is always going to start.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.