Rajveer Singhrajveer.hashnode.dev·Jul 12, 2023Python Traps1. Assignment to a Tuple of List %[INVALID_URL]DiscussPython 3
Satyam Aadityablog.satyamaaditya.com·Apr 21, 2023Python TuplesIn Python, a tuple is a collection of immutable objects, which means that once a tuple is created, it cannot be modified. A tuple can contain objects of different data types, including integers, floats, strings, and other tuples. Creating Tuples To c...Discuss·40 readsLearn PythonPython
Ritul Guptaritul.hashnode.dev·Apr 11, 2023Day 14 - Python Data Types and Data Structures for DevOps1. Data Types Data types are the classification or categorization of data items. It represents the kind of value that tells what operations can be performed on a particular data. Since everything is an object in Python programming, data types are a...Discuss·1 like·80 readsPython 3
Namya Shahbigsmoke.hashnode.dev·Jul 17, 2022Python Tuple MethodsA tuple is an immutable list of values. # Both are same t1 = ('a', 'b', 'c') t1 = 'a', 'b', 'c' NOTE THAT A single value in parentheses is not a tuple To create a single value tuple it is necessary to have a trailing comma. a = ('b') # Not a tuple, ...Discuss·57 readsPython