Tuples are lists that are immutable (cannot be changed).
To create a tuple with one item you have to use a comma:
single = (2,)
If you just type
single = (2)
This will give you a variable containing 2
Mail (will not be published) (required)
A Good Programmer Is a Lazy Programmer!!
© 2013 r00t.gr - StudioPress Theme
Full RSS - Comments RSS