Python Data Type with example | what is data type in python | Python Basic t

Опубликовано: 08 Июнь 2026
на канале: Computer Owner
1

Python me main data types ye hote hain:

1. *int* – ye poore number hote hain, jaise 10, -5
2. *float* – ye decimal number hote hain, jaise 10.5, 3.14
3. *str* – ye text ya words hote hain, jaise "Hello", "Python"
4. *bool* – isme sirf True ya False value hoti hai

Ye sab Python me data store karne ke basic types hain.


(c) range

Number sequence generate karta hai

*Example:*

```python
x = range(5)
print(type(x))
```

---

5. Dictionary Data Type

dict

Key aur value pair me data store karta hai

*Example:*

```python
student = {
"name": "Sanjay",
"age": 20
}
print(type(student))



#python
#pythontutorial
#pythonforbeginners
#learnpython
#pythoncourseforbeginners
#pythonhindi
#pythonprogramming
#pythonprojects
#pythonai
#pythonautomation
#codingforbeginners
#programming
#techeducation