Array in Python

Array in Python

Array in Python Python does not have in-built array. However, in C/C++ and Java you have learnt array and have expectation that it would be in Python. Further, array also a very important data structure and needs in several applications and algorithm implementations. In Python, there are two ways to create an array. In this

Array in Python Read More »

Tuples in Python

Tuples in Python

Tuples in Python Tuples in Python are ordered collection of items(integer, float, string) which are immutable. The only difference from list you can notice that a tuple in Python is immutable. Further, it uses parenthesis to create a tuple. However, tuples can also be created without parenthesis separated by comma. Now open terminal or jupyter

Tuples in Python Read More »

©Postnetwork-All rights reserved.