Important Notice:

Integer (int) in Python

Integer (int) in Python

2 views 1 min read

Integer (int) in Python (पूर्णांक डेटा टाइप) :-

Integer (int) Python का एक Built-in Numeric Data Type (बिल्ट-इन संख्यात्मक डेटा टाइप) है, जिसका उपयोग पूर्ण संख्याओं (Whole Numbers) को संग्रहित (Store) करने के लिए किया जाता है।

Integer में दशमलव बिंदु (Decimal Point) नहीं होता। यह धनात्मक (Positive), ऋणात्मक (Negative) या शून्य (Zero) हो सकता है।

Python में Integer का आकार (Size) निश्चित नहीं होता। यह आवश्यकता के अनुसार बड़ी से बड़ी संख्या को भी संग्रहित कर सकता है, इसलिए इसे Arbitrary Precision Integer कहा जाता है।

English

Integer (int) is a built-in Numeric Data Type in Python used to store whole numbers.

An integer does not contain a decimal point. It can be positive, negative, or zero.

Python integers have unlimited precision, meaning they can store very large numbers without a fixed size limit.

Syntax (सिंटैक्स) -

variable_name = integer_value

Examples -

a = 100
b = -250
c = 0

print(a)
print(b)
print(c)

Related Notes