OPP633-“Dictionary Basics”

Dictionaries are like key-value pair. Following below are the few information about dictionary >>> d = {}    # Create empty…

Tuples

A tuple is another sequence data type that is similar to the list. A tuple consists of a number of…

Lists Basics

A list contains same or different items separated by commas and enclosed within square brackets ([]). Below is the example…

200 Interview Questions

Listed 200 Interview Questions on Python Overview, Setup, Compilation, Basic Syntax, Object basics, variables, types etc Thanks a lot for all your…

String Datatype

Strings represent sequence of characters. Strings in Python are identified as a contiguous set of characters represented in the quotation…

Number Datatypes

Number data types store numeric values. Number objects are created when you assign a value to them a=1 b=2 You…

Datatypes

The data stored in memory can be of many types. For example, a person’s age is stored as a numeric…

Assigning Values to variables

Python variables do not need explicit declaration to reserve memory space. The declaration happens automatically when you assign a value…