Python Tuples

Posted by linuxer on Nov 11, 2016 11:53 AM EDT
linuxconfig.org; By Nick Congleton
Mail this story
Print this story

Tuples are immutable data sets made up of data of different types. While tuples are very similar to lists, they are different in those key ways. Tuples cannot be changed once they are created. The data they hold can be passed to a different tuple, but the original tuple cannot be changed. This means that tuples don't have methods for manipulating them like lists do because they cannot be manipulated.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer, Linux, Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.