Python Interview question: What are Python Data Structures and Data Types

Python for BEGINNERS and DUMMIES

Reusable Define Function with Return


Python 2D Lists and Nested Loops Examples


Python exception handling using
try except with examples


Python For Loop condition with examples


Python while condition with examples


Python if elif else logical condition


Python Tuples vs List


Python Translator with Examples


Python List Functions with Examples


Data Structures and Data Types


Python Exponent Function with examples


Python dictionary with examples


Variables, Expressions & Statements


List of 'Reserved Words' in Python


Boolean Expressions &
Comparison Operators

Python Data Structures and Data Types

NAME TYPE DESCRIPTIONS
Integers int Whole numbers, such as 1, 2, 10, 20, 30, 35...
Floating point float Numbers with decimal points: 3.5, 2.3, 10.95, 200.75...
Strings str Ordered sequence of characters: "apple", "bike", "house", "32457", hello123"...
Lists list Ordered sequence of objects (these are mutable): ["Apples", 100, "street123", 500.75]
Tuples tup Ordered sequence of objects (these are immutable): ("Oranges", 500, "best123", 700.35)
Dictonaries dict Unordered Key:Value pairs: {"thekey":"thevalue","fruit":"oranges","autos":"cars"}
Sets set Unordered collection of unique objects: {"apple", "mango", "orange"}
Booleans bool Logical value indicating True or False

Python Interview Questions and
Answers


What are the differences between
Python 2.x vs Python 3.x
(2.7 vs 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9),
when to you which version ?


What is Python Variable, Expression
and Statement ?


What is a 'Reserved Word' in Python ?
List of Reserved words in Python ?

How to Install Python, IDE, UI
to Practice


Download and Install Python from
Python.org


Download and Install Anaconda to Use
SPIDER and Jupyter Notebook