PYthon Data type||python Beginners in urdu||hindi

Опубликовано: 18 Июнь 2026
на канале: Shah Graphy
13
1

PYthon Data type||python Beginners in urdu||hindi

Numeric Types
int: Represents integers (whole numbers), e.g., 5, -10, 1000.

float: Represents floating-point (decimal) numbers, e.g., 3.14, -0.5.

complex: Represents complex numbers with real and imaginary parts, e.g., 2 + 3j.

2. Text Type
str: A string, used to represent text, e.g., "Hello", 'Python123'.

3. Sequence Types
list: An ordered, mutable (changeable) collection, e.g., [1, 2, 3], ['a', 'b'].

tuple: An ordered, immutable (unchangeable) collection, e.g., (1, 2, 3).

range: Represents a sequence of numbers, commonly used in loops, e.g., range(0, 10).

4. Set Types
set: An unordered collection of unique elements, e.g., {1, 2, 3}.

frozenset: Like a set but immutable.

5. Mapping Type
dict: A collection of key-value pairs, e.g., {"name": "Ali", "age": 25}.

6. Boolean Type
bool: Represents True or False.

7. Binary Types
bytes: Immutable sequence of bytes, e.g., b"Hello".

bytearray: Mutable version of bytes.

memoryview: A memory view object of a binary data.

8. None Type
NoneType: Represents the absence of a value, e.g., None.
#Python #PythonTutorial #PythonDataTypes #LearnPython #CodingForBeginners #urdu #english #hindi
#Programming #PythonBasics #CodeWithMe #PythonLearning #PythonProgramming
#Developer #TechEducation #PythonBeginners #PythonCode #PythonCourse