Assigment:1
Python
Programming
Language
Variables and it’s Data Types
Submitted to: Submitted by:
Manjul Singla Himanshu Sharma
Introduction to
Python
Python is a versatile, high-level
programming language known for its
simplicity and readability.
• In Python, variables are
used to store data values.
Variables in Variables do not need to
Python be declared with a specific
data type and can change
types during execution.
• Python supports
various data types,
Data Types including integers,
in Python floats, strings, lists,
tuples, and dictionaries.
Each data type has
specific use cases and
operations.
Integer and Float Data
Types
• Integers represent whole
numbers, while floats
represent numbers with
decimal points. Python
allows arithmetic
operations on these data
types.
String • Strings in Python are
sequences of
characters. They can be
Data manipulated using
various string
Type operations and
functions.
List and Tuple Data Types
• Lists and tuples are used to store
collections of items. Lists are mutable,
meaning their elements can be changed,
while tuples are immutable, making
them suitable for fixed data.
Dictionary Data Type
• Dictionaries in Python
store key-value pairs.
They provide a
convenient way to
store and access data
based on unique keys.
Thank you