YUNOVA · Python programming · Module 2: Variables & Data Types
Python me data types - int, float, string, boolean
Python me data types - int, float, string, boolean
Key points
- int पूरा number है, float दशमलव वाला, string text और boolean सिर्फ़ True या False।
- type() से आप देख सकते हैं कि किसी value का data type क्या है।
- Quotes में लिखा number string होता है, इसलिए दोनों एक जैसे नहीं हैं।