Browsed by
Tag: Python Tutorial for Beginners

Python Dictionary

Python Dictionary

Hello friends, welcome to another session on Python Dictionary. In the last session, we discussed about Python Tuples. Dictionary is something which we have already used. A dictionary contains words and its meanings/synonyms alongside. In short, dictionary is a large sequence of ‘word-meaning’ pair. Python Dictionary on the other hand is a large sequence of ‘key-value’ pairs. Here you have a word which is key and a corresponding value for that key. Example:  {‘car’:’four wheeler’, ‘bike’:’two wheeler’} In above example,…

Read More Read More

Python Tuples

Python Tuples

In this tutorial, we will see the use of Python Tuples and how they are different from Python Lists. Tuples are data types that can store more than one element just like lists. In another session, we have already seen Python Lists. Lists are variable types which can store one or more than one element, in fact they can have zero element also. In other words, we can say that lists store sequence of elements which can be accessed using…

Read More Read More